cpanel-php-ini-ez-configuration.jpgphp.ini EZConfig is a proprietary cPanel feature not found in all cPanels.

It makes life easier for Joomla users as it provides a GUI for editing a global php.ini file.




The global php.ini file is stored in the home directory.

The global php.ini file has a recursive affect meaning that the settings in the file will affect all directories on the account.

This is an improvement over the traditional method of manually editing php.ini files and placing them in every directory to be affected.

Overriding php.ini EzConfig:

Create a custom php.ini and add the following to a .htaccess file in the same directory:

<IfModule mod_suphp.c>
        suPHP_ConfigPath /home/USERNAME/public_html/PATH/TO/DIRECTORY/php.ini
        <Files php.ini>
                order allow,deny
                deny from all
        </Files>
</IfModule>

You will have to edit the "suPHP_ConfigPath" line to point to the proper php.ini file.

(Technically it doesn't need to be in the same directory, but putting it there may be best for the sake of organization.)

proudly-canadian-flag.gif
Best Canadian Web Host for Joomla



Joomla Web Hosting Canada RSS Feed