Re: Connectivity PHP4 > mysql

From: Date: Fri, 16 Jan 2004 02:36:07 +0000
Subject: Re: Connectivity PHP4 > mysql
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32429@lists.php.net to get a copy of this message
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 (#32429) next »