Having problems with a PHP and Apache installation on Windows?

Josh

New member
I've installed Apache 2.2 and PHP 5.3.8 on a local computer, but for some reason PHP does not include any of the MySQL functions at all. WIth any mysql function used, it displays:

"Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\dbcon.php on line 2"

Line 2 being mysql_connect() of course.

This website works fine on a web server, but I need it to work locally also for a competition that doesn't allow an internet connection.
I've uncommented the

"extension=php_mysql.dll"

and changed the extension dir to where the extension is located as well, but it still does not include the functions.
 
Back
Top