Error when using MySQL statement in PHP

From: Date: Fri, 15 Mar 2002 07:08:47 +0000
Subject: Error when using MySQL statement in PHP
Groups: php.install 
Request: Send a blank email to php-install+get-6390@lists.php.net to get a copy of this message
Hello, I have a problem when I write a PHP script used to connect to MySQL table. The PHP script likes: <? $link_id=mysql_connect("localhost", "root"); ?> When I try to run this script on apache server, there is an error : Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 2 Can anyone tell me what is the problem ? I am using Apache 1.3.22 PHP 4.1.2 MySQL 3.23.49 Thank you

« previous php.install (#6390) next »