How to Edit php.ini File Print

  • 1

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.

-------
http://secure.webhost.lk/downloads/3/PHP
-------

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?

« Back