[php-maint] Bug#668157: memory_limit cannot be set to -1 when php5-suhosin is installed.

Francois Beaulieu francois.beaulieu at securebyknowledge.com
Wed May 2 22:37:51 UTC 2012

Having the memory_limit set to -1 in /etc/php5/cli/php.ini while running php5-suhosin will cause the logs to fill up with error messages every time a php script attempts to grow its memory limit using php_ini().

Therefore, it is recommended to set the global limit to a reasonable value and define suhosin.memory_limit to the required value in any script that requires more memory that the global limit. If this cannot be done for backward compatibility reasons, then I suggest to remove the "Suggests: php5-suhosin" from php5-common.

François Beaulieu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20120502/4372aa02/attachment.html>

More information about the pkg-php-maint mailing list