Question

How to Setup php.ini file per directory basis

  • Posted May 25, 2014

How we can configure server so that, php.ini from local folder taken place over the default one at position: /etc/php.ini ?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

<a href=“http://www.howtoforge.com/how-to-specify-a-custom-php.ini-for-a-website-apache2-with-mod_php”>This tutorial</a> shows you how to configure a virtualhost to use a different php.ini file.