rhenderson

Well-Known Member
Apr 21, 2005
778
2
168
Oklahoma
cPanel Access Level
Root Administrator
After you added

Code:
[suhosin]
; Misc Options
suhosin.simulation = On
the restarted Apache, look at your phpinfo in the suhosin section and see what the value of suhosin.simulation is.. If it is still on are you sure you edited the correct php.ini file? If it says it is off then it is off, if I am not mistaken it will SIMULATE in the logs what it would have blocked.
 

orakanggo

Registered
Apr 9, 2008
2
0
51
How can I disable SUHOSIN via .htaccess? because I don't have root access to modify /usr/local/lib/php.ini

thanks
 

verdon

Well-Known Member
Nov 1, 2003
922
14
168
Northern Ontario, Canada
cPanel Access Level
Root Administrator
If you are using suphp, try

1) adding this to your .htaccess
Code:
<Files ".ht*">
deny from all
</Files>

suPHP_ConfigPath /home/username
2 then create a php.ini file at /home/username/php.ini with this
Code:
suhosin.simulation = On
Note: This may be disabled by your host. If it does work, you may have to add other things to your php.ini file as it will completely over-ride the server-wide one, not just add to it.