RE: [PHP-DB] Missing mysql_connect()?

From: Date: Mon, 05 Jun 2000 13:38:04 +0000
Subject: RE: [PHP-DB] Missing mysql_connect()?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-197@lists.php.net to get a copy of this message
For starters, wouldn't you want PHP configured with "-with-mysql" and not MySQL? Why would you do a "-with-mysql" when configuring MySQL? Sam Masiello System Analyst Chek.Com (716) 853-1362 x289 smasiello@chekinc.com -----Original Message----- From: Fred Ross [mailto:fred@horace.ls.net] Sent: Sunday, June 04, 2000 12:50 PM To: PHP Database List Subject: [PHP-DB] Missing mysql_connect()? I have installed PHP4 on a system with MySQL and Apache, and tried this with MySQL configured as --with-mysql, --with-mysql=shared, and --with-mysql=/usr. Whenever I try to use the mysql_connect() function (which is sort of integral to using MySQL from PHP...) I get the following error: Fatal error: Call to undefined function: mysql_connect() in /home/fred/ public_html/test.php on line 2 The code used to invoke this is: $link = mysql_connect("localhost:3306","fred","armavirumque"); Anyone have a clue as to what would be causing this? Fred Ross s.k.a. Philippe de Minerve a.k.a. Sgath http://www.ls.net/~fred/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#197) next »