Custom php.ini with cPanel Print

  • 63

In the directory of the website create or edit .htaccess file, and add :

suPHP_ConfigPath /home/<username>/public_html/
<Files php.ini>
order allow,deny
deny from all
</Files>

Copy php.ini to /home/<username>/public_html/
Edit to your needs.

Was this answer helpful?

« Back