Portal Home > Knowledgebase > Articles Database > cPanel suhosin ALERT - script tried to increase memory_limit
cPanel suhosin ALERT - script tried to increase memory_limit
Posted by kshazad86, 08-23-2011, 07:09 PM |
My server log is constantly full with the error below:
Any ideas how I can fix this?
|
Posted by KMyers, 08-23-2011, 09:22 PM |
Hello,
This is done by a user either using a custom php.ini, .htaccess or even a ini_set command. You need to track down the user
|
Posted by kshazad86, 08-24-2011, 12:26 PM |
Yes, it seems the message is caused when a user is trying to use the ini_set command in their PHP script.
The problem is that I get the error for hundreds of accounts, is there a fast way of fixing this?
or do I have to go though individually every single script?
|
Posted by 8088, 08-24-2011, 12:38 PM |
Doesn't Suhosin also log the source file that tried to up the limit?
I don't really see the problem, though. It's not an error and Suhosin's just doing its job. If it's the amount of logs that it creates bothers you, you could disable logging this certain violation.
|
Posted by kshazad86, 08-24-2011, 01:09 PM |
Thanks...I used to think its an error and should be resolved.
Do you know how I can disable this logging?
|
Posted by rustelekom, 08-24-2011, 02:54 PM |
Hi,
You could just comment our suhosin.so from php.ini. But this will stop suhosin completely.
|
Posted by 8088, 08-24-2011, 02:59 PM |
http://www.hardened-php.net/suhosin/..._configuration
|
Add to Favourites Print this Article
Also Read