I'm trying to install Apache, MySQL, PHP 5 on Windows XP and am stuck :-)
The first problem I have is that though my phpinfo.php displays fine, it gives C:\Windows\php.ini as the php.ini file even though I've set PHPIniDir in my Apache config file to the php.ini file in my PHP directory? Any ideas why it might be doing this? The PHP directory is in my path.
So, to get round this, I moved my php.ini to my Windows directory. But I can't get MySQL to work. In my PHP directory I have libmysql.dll (as well as php5apache2.dll and php5ts.dll) and in the ext subdirectory I have php_mysql.dll. In my php.ini file (now sitting in the Windows directory), I have ext_dir set to this ext subdirectory (extension_dir = “C:\Server\PHP\ext\”) and have uncommented the extension=php_mysql.dll line. But MySQL isn't showing up in the phpinfo.
I've restarted the server obviously in both cases.
Can anyone help? What might I have missed out? Hope these problems haven't already been answered here - I've had a look but it's difficult to do effective searches for this sort of stuff.
Thank you!
Juliette