I need to temporarily increase memory_limit
on my Debian Jessie server. And no, I cannot make my script use less memory, as it is not my script and I really need to run it. Setting memory_limit
and suhosin.memory_limit
in php.ini
does not have any effect.
Is there any other solution apart from recompiling PHP?
Really strange, I just changed my memory limit on Jessie, restarted apache, and phpinfo now shows the correct number.
Maybe your limit is set in a .htaccess file or via an ini_set() function?