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


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to