This article covers how to edit the php.ini.

Getting the correct php.ini file:

Log in to WHM.

Go to List Accounts.

Find the user "USER" with the domain: YOURDOMAIN.com.

Click on the cPanel icon to open the cPanel.

Go to File Manager.

Choose Web Root.

Download the file called "php.ini" onto your computer that is easily accessibly (i.e Desktop).

Uploading the php.ini file to all your accounts.

In WHM, go to List Accounts.

Type in the domain you need to enable [ EDIT ] (i.e. allow_url_fopen, memory, etc.).

Click on the cPanel icon.

Go to File Manager.

Choose Web Root.

Click on "Upload" at the top.

Choose the php.ini file you downloaded previously.

Make sure the permissions are 644.

Go back to File Manager.

Find the file ".htaccess".

Click on it and click on "Edit" at the top.

Make sure that you add these lines (USER is the user for the domain you are adding this to).

<IfModule mod_suphp.c>

suPHP_ConfigPath /home/USER/public_html

</IfModule>

Was this answer helpful? 0 Users Found This Useful (0 Votes)