MySQL and libphp4

From: Date: Wed, 23 May 2001 06:27:09 +0000
Subject: MySQL and libphp4
Groups: php.install 
Request: Send a blank email to php-install+get-3259@lists.php.net to get a copy of this message
I have a problem with PHP under Linux. I install Apache, PHP-MySQL, MySQL server+client and libphp4 (mod_php).The script: <?php echo "Test"; mysql_connect("localhost","user","pass"); ?> display the "Test" but it said that mysql_connect function is undefined. If I execute the file: #!/usr/bin/php <?php echo "Test"; mysql_connect("localhost","user","pass"); ?> it works. How could I make the first script to run? Libphp4 is compiled with mysql functions? Thank you very much for kindness, Sorin Constantinescu ------------------------------ K Free E-mail http://www.k.ro/ by KappaNet http://www.kappa.ro/

« previous php.install (#3259) next »