Re: Debian Sarge and PHP/MYSQL/APACHE

Rene Cunningham <[email protected]>
Newsgroups gmane.org.user-groups.mlug.main
Message-ID <[email protected]>
On Fri, Mar 04, 2005 at 04:32:55PM +1100, Tony Langdon (ATC) wrote:
> > Oh whoops - I should have mentioned this, it was what I intended to
> > place: the error is mysql_connect() undefined function 
> > (roughly). I never used register globals in my scripts 
> > anyway, so the 3->4 problem never effected me.
> 
> Sounds like you need the MySQL PHP libraries...  Not sure what package they
> are in in Debian.  You might get some joy out of apt-cache searches for
> "php" or "mysql".

All fixed now.

Problem was /usr/lib/php4/20020429/mysql.so is linked to
/usr/lib/libmysqlclient.so.10 which was compiled against the woody
libc6.

Upgrading to sarges libmysqlclient10 was the trick.

-- 

Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.