Page 1 of 1

mysql problems

Posted: Sat Mar 03, 2007 5:57 am
by Bandy
Hi

Ive been using php 4 till i bought book php5 so i manually install php5.
I downloaded the new apache web server, PHP and apache works fine but when i try to use connection functions to mysql i get this message:
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\
PHP 5 is installed like a module.

Thx.

Posted: Sat Mar 03, 2007 7:37 am
by feyd
PHP 5 does not have built-in support for MySQL anymore. You have to enable the extension.