Here's a strange one. I have Apache 2.2, PHP5. I'm trying to get MySQL up and running. Tweaking with the httpd.conf file however to get Apache to read the php.ini file where I've enabled the mysql.dll extension is proving to be frustrating.
When there isn't a PHPIniDir set in httpd.conf, PHP doesn't work. When there is a correct PHPIniDir set in httpd.conf, PHP doesn't work. But when there is an incorrect PHPIniDir path set in httpd.cond, PHP suddenly works! What?!? Any clues?
This loads php (without MySQL -- arg):
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP/BOGUS/"
This doesn't load php:
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP/"
This doesn't load php
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#PHPIniDir "C:/Program Files/PHP/"
Any thoughts, suggestions?