PHPIniDir "D:/Dev/PHP/"
The above instruction can make my apache die on windows.
But I'm just not sure if that's true.
BTW,I found xmpp/wampserver copies the php.ini to the directory of httpd.exe
,maybe for the lack of support?
PHPIniDir "D:/Dev/PHP/"
The above instruction can make my apache die on windows.
But I'm just not sure if that's true.
BTW,I found xmpp/wampserver copies the php.ini to the directory of httpd.exe
,maybe for the lack of support?
Short answer : yes, Apache does support PHPIniDir on Windows.
One thing you probably should look out for is whether the path to your extensions is correctly set in the php.ini you use, because if it's not Apache will not start. And if Apache doesn't start, then checking your Apache error log could be helpful to find the cause.