anhnn123

Registered
Jun 16, 2018
2
0
1
hcm
cPanel Access Level
Website Owner
Hi!

I needed to change some suhosin settings on my web server, but after reading through several forums I still don't know how to commit these changes. I modified the necessary values in
/etc/php5/cli/php.ini,
/etc/php5/cgi/php.ini,
/etc/php5/apache2/php.ini,
/etc/php5/apache2/conf.d/suhosin.ini
but no effect at all. Phpinfo still reports the old (default) values.

I reloaded apache several times but it didn't help. Maybe reload is not enough and I should restart it?

- Removed -
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
Hello @anhnn123

This looks like you're using the older method to edit configuration files used for EasyApache 3. Are you running EA3 or EA4? If you're running EasyApache 4 suhosin is currently available for PHP 5.4, 5.5, and 5.6 and modifiable using it's .ini file. The file is stored at
Code:
/opt/cpanel/ea-php54/root/etc/php.d
/opt/cpanel/ea-php55/root/etc/php.d
/opt/cpanel/ea-php56/root/etc/php.d
Depending on the version of PHP you're running.

Thanks!