Hi, Paul. Thanks for the help. I actually just fixed the problem with a symbolic link.
> # Create a symlink /tmp/mysql.sock to /var/lib/mysql/mysql.sock using > ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock > # To test the feature, install the attached sample test page in the web root > of your virtual site. When you access this page, it should report > that it made successful connection to mysql. I found this on http://www.depopo.net/projects/kb/kb_show.asp?id=61 Ercilia Tallent ----- Original Message ----- From: "Paul Aviles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 6:33 PM Subject: Re: [cobalt-developers] PhP system class files on RaQ550[Scanned] > Ercilia, first make sure PHP is enabled for the site. Then if what you need > is MySQL support do this, > > Edit /etc/httpd/php.ini and look for the [MySQL] section and add the > following after it: > > extension=mysql.so > mysql.default_scocket = /var/lib/mysql/mysql.sock > > restart apache > > /etc/rc.d/init.d/httpd restart > > and voala... > > >From these links.... > http://list.cobalt.com/pipermail/cobalt-users/2002-August/075906.html > http://www.mail-archive.com/[EMAIL PROTECTED]/msg08013.html > > > > > > ----- Original Message ----- > > From: "Ercilia Tallent" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, November 06, 2003 06:50 > > Subject: [cobalt-developers] PhP system class files on RaQ550 > > > > > > > I have a site that requires PhP. The error I get is as follows: > > > Fatal error: Call to undefined function: mysql_connect() in > > > /home/.sites/142/site72/web/store/config.php on line 278. > > > I 've checked that the MySQL is working (for anything that dooesn't > > require > > > PhP). I've realized that Php Mysql API is not available to my scripts. > > I've > > > included all necessary include statements. But it seems like PhP doesn't > > > know where to find the API code. How can I safely get around this issue? > > > > > > Ercilia Tallent > > _______________________________________________ > cobalt-developers mailing list > [EMAIL PROTECTED] > http://list.cobalt.com/mailman/listinfo/cobalt-developers > > _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
