[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] PHP and MySQL on a RAQ 550
- Subject: RE: [cobalt-users] PHP and MySQL on a RAQ 550
- From: "rogradio" <test@xxxxxxxxxxxx>
- Date: Wed Aug 28 02:25:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
yes,
i hade the same problem,
from sun:
By default, mysql is not configured to run with php scripting. To enable it,
please do the following:
Enable the php scripting for the vsite under the following menu
"Site Management -> Services -> Web -> Enable PHP scripting"
Edit the /etc/httpd/php.ini to add the following line
extension=mysql.so
Restart the httpd by typing
/etc/init.d/httpd restart
Start the mysql daemons by typing
/etc/init.d/mysql start
Create a symlink /tmp/mysql.sock to /var/lib/mysql/mysql.sock using
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
It worked for me..
Gerard
Onderwerp: [cobalt-users] PHP and MySQL on a RAQ 550
I am trying to get PHP to connect to a mysql database on a RAQ 550, but I
keep getting
Call to undefined function: mysql_connect()
I have phpMyAdmin working, although there is no mention of PHP having MySQL
support with phpinfo();
Has anybody come across this before.
George
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users