Custom PHP.INI creation (CPanel)

Enable Custom PHP.INI

In order to enable your Custom PHP.INI being processed by the Apache server, please follow the steps below:

  1. Login to your Cpanel.

  1. Click on File Manager.

  1. Upload your custom php.ini file to the directory you desire and edit the .htaccess file so the Apache server will know where to find it.

  1. Add the following code to your php.ini:

SetEnv PHPRC /home/user/.../

Note: /home/user/... being the exact directory under which you have uploaded your php.ini

  1. Click Save.