Is it possible to load a custom .ini file that overrides the fat messy php.ini from the distribution package?
On unix systems I believe this can be achieved by putting additional ini files inside /etc/php.d
but I'm not sure about IIS.
The question is pretty straightforward: Can I define an additional .ini
file that adds or overloads the standard php.ini
settings, for example:
php.ini
is located in c:\windows
and is the loaded configuration file.
myphp.ini
is my custom configuration
Where to put myphp.in
i so that both php.ini
and myphp.ini
are loaded and myphp.ini
is loaded after php.ini
?
Is there a 'Scan this dir for additional .ini files ' under Windows?
Looks like this might give you an idea on how to have a custom php.ini: Enable Per-Site PHP Configuration on IIS 7 and IIS 6.0
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With