Where to place secondary php.ini on CENTos webserver?

D

DSeyir

Guest
Hi,

I have a VPS and sub accounts on those.

There is a php.ini that I access via SSH, but modifications there are not affecting the upload max allowed on the sub account.

So, if I place a secondary php.ini, where should it be: on the public_html folder of the sub-account or before that /home/user ?

Thank you
 


Anyone there?

I did placed on the working folder but its not affecting, had to modify things on the root php.ini

Please <>
 
First of all check the Loaded Configuration File for the domain. For this you can Create a phpinfo.php page under document root path of your domain and insert below code then access with your domain name as http://yourdomain.com/phpinfo.php . Make sure file permissions and ownership is correct.

Code:
<?php phpinfo(); ?>

There you will see a option "Loaded Configuration File" then make changes in that file to make changes for domain.
 

Members online


Top