SuPHP (Single user PHP) is a php handler, which executes PHP scripts with the permissions of their owners. It is installed on all our shared servers. Using this option, you can make settings from the chosen “php.ini” file global for the entire account.
If “php.ini” is located in public_html folder, to enable it globally for the hosting account you should add the following configuration directive to .htaccess file:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html
</IfModule>
where USER is your cPanel username (hereinafter we will use “nctest” as user).
This option tells mod_suphp which path to pass on to the PHP-interpreter and which folder to execute “php.ini” from.
Click on "Save Changes"
If you have no “.htaccess” you can simply create it by clicking on “New File”.
Enter “.htaccess” in “New File Name” field.
In case “php.ini” is located in the subfolder, we will use “folder1” here, this line should be edited as follows:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html/folder1
</IfModule>
Click on "Save Changes"