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 this is true.

BTW, I found that xmpp / wampserver copies php.ini to the directory httpd.exe

, possibly due to lack of support?

+2


a source to share


1 answer


The short answer is yes, Apache supports PHPIniDir on Windows.



One thing that you probably should pay attention to is whether the path to your extensions is set correctly in the php.ini used, because if it won't start Apache. And if Apache won't start, then checking your Apache error log can be helpful to find the cause.

+1


a source







All Articles