Bug #9455 Updated: Call to undefined function: mysql_connect()

From: Date: Thu, 26 Apr 2001 03:59:25 +0000
Subject: Bug #9455 Updated: Call to undefined function: mysql_connect()
Groups: php.dev 
Request: Send a blank email to php-dev+get-52456@lists.php.net to get a copy of this message
ID: 9455 Updated by: cardinal Reported By: micha@sitehost.nl Old-Status: Open Status: Closed Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: Closing, this is most likely an issue with the installation, and not a PHP bug. For help identifying the problem, consider one of the PHP mailing lists, or the #php channel on irc.php.net Previous Comments: --------------------------------------------------------------------------- [2001-02-26 06:30:50] micha@sitehost.nl I did install PHP --with-mysql. --------------------------------------------------------------------------- [2001-02-26 06:15:01] micha@sitehost.nl I did update my Linux RedHat from 6.2 to 7.0. After this PHP couldn't connect to MySQL. After this I did update PHP and MySQL to the following versions: MySQL-3.23.24-1 mysql-3.23.32-1.7 MySQL-client-3.23.24-1 mysqlclient9-3.23.22-3 MySQL-devel-3.23.24-1 mysql-devel-3.23.32-1.7 mysql-server-3.23.32-1.7 MySQL-shared-3.23.24-1 php-4.0.4pl1-3 When I try to get data out of the MySQL database I get the error: Fatal error: Call to undefined function: mysql_connect() in /opt/homes/shbeheer/HTML/klantoverzicht.php on line 3 This line 3 contains : mysql_connect("localhost","username","password"); Please help me with this problem, thanx. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9455&edit=2

« previous php.dev (#52456) next »