Report this

What is the reason for this report?

How to Setup php.ini file per directory basis

Posted on May 25, 2014
av

By av

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



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.