Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason i have to adjust the suhosin.request.max_vars and directives.

I'm using ispCP, and it has default the suhosin patch, but as i read, i need to install the extension too. I've did this with apt-get install php5-suhosin and the suhosin.ini appeared in conf.d, and exists too in /usr/lib/php5. After the Apache restart the extension isn't loading.

According to phpinfo(), the directory /etc/php5/cgi/conf.d is scanned for additional ini files. List of .ini files parsed:


As you can see, it doesn't loads the suhosin.ini.

What can be the problem?

share|improve this question

There's several things to check

  • File permissions, make sure the apache user can read all the suhosin files, I assume you installed as root so this can be a real issue
  • Some library problem while trying to load the extension. Check your error_log for any details regarding that

That's all I can think of for starters, let me know how it goes!

share|improve this answer
Checked the log earlier, nothing related in it. I've installed as root, but all the other .ini and .so files has root owner and the same permissions, so that can't be a problem. – wintercounter Jan 21 '11 at 8:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.