php5-suhosin

Hello,

Is installing “php5-suhosin” from yast and restarting apache enough to make suhosin work out of the box?
Or do I need to add few lines to php.ini file and modify suhosin file?

That should be fine. Installing the package should deposit an appropriate suhosin.ini file for that module where PHP can find it. You can check the output of a <?php phpinfo(); ?> script to see if it’s loaded.

@ken_yap

Yes, it’s loaded, however since there a couple of values set to “Off” by default I wasn’t sure.

Generally the defaults are a good starting point. When you know you have to tweak the module, then look for a file called suhosin.ini or something like that somewhere under /etc/php5.