wamp
wamp

Reputation: 5969

Does Apache support PHPIniDir on windows?

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?

Upvotes: 2

Views: 6569

Answers (1)

wimvds
wimvds

Reputation: 12850

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.

Upvotes: 2

Related Questions