Setting custom php.ini files for your website
Last Updated on Saturday, 27 November 2010 09:44 Written by Mourad Dmeiri Thursday, 25 November 2010 05:16
Many of us have wondered, how can we change some of the PHP directives to match some script requirements? Even though this might sound complicated, it is much easier than it looks.
First, we should know a few facts about PHP directives and where they reside. We have 3 levels of php.ini file levels:
1) Server global php.ini (this file resides in the server configuration and this cannot be edited by the users in a shared hosting environment).
2) User global php.ini (this file usually resides in the main folder for a user website, like public_html and this serves all the php scripts that fall under the user account).
3) User local php.ini file (this file is not limited to a specific path and can be deployed by the user wherever he feels he needs to change some parameters for some script).
Learn More
Recent Comments