SOLVED MultiPHP INI editor saves configuration in 3 files? .htacces / .user.ini / php.ini

Gino Viroli

Well-Known Member
Oct 2, 2007
69
5
58
cPanel Access Level
Root Administrator
Each time I play with MultiPHP INI editor on my cPanel account it saves my php configuration three times:
  1. in a local .htaccess file by using php5_module directives
  2. in a local .user.ini file by using the classic PHP directives
  3. in a local php.ini file by using the classic PHP directives
On my cPanel account only the .user.ini seems to be used, and the other two ignored. I tested it by deleting the php.ini file and the directives in the .htaccess file.

Is there a reason why MultiPHP INI editor saves the configuration in 3 files?

Because redundancy of configurations is never a clever idea!

Thanks
 

24x7server

Well-Known Member
Apr 17, 2013
1,896
91
78
India
cPanel Access Level
Root Administrator
Hi,
Is there a reason why MultiPHP INI editor saves the configuration in 3 files?
This may have been still there to prevent unwanted overwrites from the user in php.ini.. .htaccess on the other hand will only contain the handler information.