[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] PHP and MySQL on a RAQ 550



Thank you, it's working now.

George

At 11:18 28/08/2002 +0200, you wrote:
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

_____________________________________
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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.