Hi everyone. I'm trying to setup Apache 2.0.59, PHP 5.1.4, and MySQL 5.0.23 on Windows XP Pro SP2. IIS is not installed on this machine. And I'm having trouble setting up PHP with MySQL.
I read the instructions on how to load the mysqli extension in PHP.ini, but even though I followed the instructions exactly and I've verified the paths are correct, I'm still getting an error message when I try to restart the Apache server:
"PHP Startup: Unable to load dynamic library '(path)\php_mysqli.dll' - The specified module could not be found." (I get this message twice.)
Configuration info:
Apache Server installed to: C:\Program Files\Apache Group\Apache2
PHP5 installed to: C:\php
Lines added to httpd.conf to enable PHP:
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"
Lines edited to php.ini to enable MySQL (mysqli):
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\php\ext\"
...
extension=php_mysqli.dll
I've verified that the file "C:\php\ext\php_mysqli.dll" exists on my machine.
I also added c:\php to my PATH environment variable.
So, what am I missing?