Disallow change php settings through php.ini or .htaccess file

Infopro

Well-Known Member
May 20, 2003
17,090
519
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Thx, i mean like these php directives? AddHandler, AddType
to disallow
You'd need to actually read the thread for those details. Near this paragraph:
This is the better method in my opinion. At the bottom of /usr/local/lib/php.ini file, you can actually define individual user php.ini directives with the path to that user's application:
I'm not sure what else you were hoping for cPanelMichael to do there for you.
 

postcd

Well-Known Member
Oct 22, 2010
720
20
68
i seen someone on the hosting abused these directives having them in .htaccess so i wanted trying to disable them somehow