[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] PhP system class files on RaQ550[Scanned]
- Subject: Re: [cobalt-developers] PhP system class files on RaQ550[Scanned]
- From: "Ercilia Tallent" <ercilia@xxxxxxxxxxx>
- Date: Fri Nov 7 07:12:02 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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" <paul.aviles@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Cc: <ercilia@xxxxxxxxxxx>
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/cobalt-developers@xxxxxxxxxxxxxxx/msg08013.html
>
>
> >
> > ----- Original Message -----
> > From: "Ercilia Tallent" <ercilia@xxxxxxxxxxx>
> > To: <cobalt-developers@xxxxxxxxxxxxxxx>
> > 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
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>