How to enable php.ini for all the folders under one account

Copy the php.ini file in the public_html folder of the user using below command.cp /usr/local/apache/php.ini .

Then create .htaccess file and insert the below command:

SetEnv PHPRC /home/username/public_html

Note: In place of username you have to use the clients or your username.

 

Comments are closed.