Re: Connectivity PHP4 > mysql

From: Date: Fri, 16 Jan 2004 07:55:47 +0000
Subject: Re: Connectivity PHP4 > mysql
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-32430@lists.php.net to get a copy of this message
Hi! That depends on what you mean... Mysql is listed in the config as "--with-mysql=shared,/usr" and also appears in "Supported databases". It does not show in a seperate paragraph like it does on my working system. -Georg "Micah Stevens" <micah@raincross-tech.com> skrev i melding news:200401151836.07837.micah@raincross-tech.com... > > Sounds like you don't have MySQL turned on in PHP. Check phpinfo(); to see if > the module is listed in there. > > -Micah > > On Thu January 15 2004 2:42 pm, Georg Herland wrote: > > Hi > > > > I've got two servers, one (RH9) with PHP4 and mysql-server and one (RH7.3) > > running PHP4 and mysql client only. > > > > The problem is that I get the following errormessage from PHP when trying > > to open a db-link: > > > > PHP Fatal error: Call to undefined function: mysql_connect() in > > /data1/www/root/test.php on line 3... > > > > Running mysql client works fine, same as PHP in general. > > I have compared the two servers and cannot find any major differences in > > PHP configuration, in fact they are identical, and the rpm php-mysq -packet > > is in place too. > > > > Is this situation familiar to anyone of you? > > All help is appreciated! > > > > Georg Herland > > Bergen, Norway

« previous php.db (#32430) next »