I need to raise my memory limit as an upgrade of Gallery2 is failing due to running out of memory.
I've increased the memory_limit in /etc/php5/apache2/php.ini to 256M but something else is preventing this from working. Running phpinfo() shows the following information (among other things):-
Loaded Configuration File /etc/php5/apache2/php.ini additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
Local Value Master Value memory_limit 24M 256M
So, what's reducing the "Local Value" to 24M? There's nothing in those other "additional .ini files parsed", has apache2 got some sort of limit of its own somewhere? How can I find what's limiting it?
On Tue, Nov 25, 2008 at 10:46:11PM +0000, Chris G wrote:
I need to raise my memory limit as an upgrade of Gallery2 is failing due to running out of memory.
I've increased the memory_limit in /etc/php5/apache2/php.ini to 256M but something else is preventing this from working. Running phpinfo() shows the following information (among other things):-
Loaded Configuration File /etc/php5/apache2/php.ini additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini Local Value Master Value memory_limit 24M 256M
So, what's reducing the "Local Value" to 24M? There's nothing in those other "additional .ini files parsed", has apache2 got some sort of limit of its own somewhere? How can I find what's limiting it?
OK, silly me (well silly gallery2 installation actually), there's a .htaccess file in the gallery2 installation with memory_limit 24M, grrrr!