I have installed Apache (httpd-2.2.17-win32-x86-openssl-0.9.8o) and PHP (php-5.3.5-Win32-VC9-x86) on Windows XP SP3 and when i use put the PHPIniDir into the Apache configuration file, then Apache won't start, it would crash, and if i removed the directive it works fine but of course doesn't read the PHP configuration.
What might be causing this and what should i do to fix it ?
Here is how it appears inside httpd.conf
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "D:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "D:/Program Files/PHP/"
AddType application/x-httpd-php .php .phtml .html
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL