Connectivity PHP4 > mysql

From: Date: Thu, 15 Jan 2004 22:42:46 +0000
Subject: Connectivity PHP4 > mysql
Groups: php.db 
Request: Send a blank email to php-db+get-32428@lists.php.net to get a copy of this message
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 (#32428) next »