• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

suhosin configuration changes

We have an Amazon EC2 instance running Ubuntu LEMP installation (nginx). We would like to modify several suhosin config parameters. We tried changing the parameters in /etc/php5/cgi/conf.d/suhosin.ini file, but it won't change the values. Upon loading phpinfo function, we still see the old default values. We also added the parameters into /etc/php5/cgi/php.ini file (which is the file parsed by the nginx web server) to no avail.

nginx was restarted after making the changes and php-fpm was also restarted. However, we cannot change the default values of any of the suhosin parameters.

Which files need to be edited here?
1 Solution
Have you check if this is the only php.ini in the box? Can you post the log files for php and ngix?
have a look at these items in phpinfo()

Loaded Configuration File
Scan this dir for additional .ini files
Additional .ini files parsed

please post back if you can't sort it out using this info
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now