MySQL commands not working

From: Date: Sun, 13 Jan 2002 22:41:03 +0000
Subject: MySQL commands not working
Groups: php.install 
Request: Send a blank email to php-install+get-5555@lists.php.net to get a copy of this message
Hi, I'm trying to get PHP to work with MySQL. I have Apache 1.3.22 running on Linux Mandrake 8... the apache was installed from the mandrake RPM. I then installed PHP 4.1.1 from the RPM. The PHP parsing works fine but it doesn't recognize mysql commands. When I do: $linkid = mysql_connect("localhost", "root", "") or die($php_errormsg); I get: Fatal error: Call to undefined function: mysql_connect() ... So I figured that meant the rpm didn't come with mysql commands enabled. So I downloaded the source code (php-4.1.1.tar.gz) and did: ./configure --with-mysql --enable-track-vars make make install Then I did apachectl stop, apachetcl start. The PHP parsing is working but I'm still getting the exact same error about not recognizing the mysql command. Any ideas what's going on? -John

« previous php.install (#5555) next »