How to Edit php.ini File

If you need a custom php.ini file for your account please upload the file at the below URL to your public_html folder after editing it.


If you are not seeing the settings in the file taking place, please put the following line in your .htaccess file, also located in your public_html folder.
Be sure to change the text "USERNAME" to your cPanel account's actual username so it uses the correct path.

SetEnv PHPRC /home/USERNAME/public_html

** Don't FORGET TO KEEP a Backup copy of existing .htaccess file before modifying above setting

Was this answer helpful?

 Print this Article

Also Read

How many Emails can I send?

You can send a maximum of 150 emails per domain name per hour (on Shared Servers). If you exceed...

Error Log?

The error log contains all HTTP errors that occur when visitors attempt to view your site, such...

Password Refused When Trying To Access E-Mail

If you are trying to access your e-mail and get the error saying your password is incorrect don't...

Not Acceptable Error

If you receive the error Not acceptable (406) that means you're causing mod_security to block...

500 Error

If your site occurs a 500 Internal Server Error the most common are php settings in your...