[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobalt-developers
Subject:    Re: [cobalt-developers] PhP system class files on RaQ550[Scanned]
From:       "Ercilia Tallent" <ercilia () host1up ! com>
Date:       2003-11-07 15:09:51
[Download RAW message or body]

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@palei.com>
To: <cobalt-developers@list.cobalt.com>
Cc: <ercilia@host1up.com>
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@list.cobalt.com/msg08013.html
>
>
> >
> > ----- Original Message ----- 
> > From: "Ercilia Tallent" <ercilia@host1up.com>
> > To: <cobalt-developers@list.cobalt.com>
> > 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@list.cobalt.com
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>

_______________________________________________
cobalt-developers mailing list
cobalt-developers@list.cobalt.com
http://list.cobalt.com/mailman/listinfo/cobalt-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic