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

Re: [cobalt-users] Re: php 4.3.3 upgrade - mysql_connect error



Actually what I did was the following:

cp /usr/lib/apache/php/mysql.so /usr/lib/apache/php/mysql.so.orig
cp /usr/src/php-4.3.3/modules/mysql.so /usr/lib/apache/php/mysql.so

This seems to have resolved the problem.

After looking at the problem for a little while I performed the following:

>find / -name "mysql.so" -exec ls -l {} \;

and it returned the the 2 files above. I noticed that the /usr/src/php-
4.3.3/modules/mysql.so  file seemed to be the new compiled driver 
while /usr/lib/apache/php/mysql.so was what the webserver was configured to 
use. 

Thanks for your help.

Brendan

On Sat, 13 Sep 2003 18:47:17 -0700, Bruce Timberlake wrote
> > I have just upgraded php from 4.0.6 to 4.3.3 on my Raq 550 by following 
the
> > instructions on cobaltfaqs.com 
> >
> > The upgrade seems to have worked but now I'm getting mysql_connect()
> > errors. Has anyone followed this installation step-by-step and ran into 
the
> > same problem?
> 
> I looked in the comments to the original instructions and found an 
> alternative ./configure string which I have posted in place of the 
> original one.  The main difference seems to be the line
> 
> --with-config-file-path=/etc/httpd/4.3.3/ \
> 
> instead of
> 
> --with-config-file-path=/etc/httpd/ \
> 
> Give that one a try and see what happens.
> 
> _____________________________________
> 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



--
BuildaCOM Online Inc.
http://buildacom.com