For example, under Ubuntu there is
/etc/php5/cli/php.ini and /etc/php5/apache2/php.ini

 Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative





________________________________
From: Tim Fountain <t...@tfountain.co.uk>
To: fw-general@lists.zend.com
Sent: Monday, August 3, 2009 3:08:29 PM
Subject: Re: [fw-general] Unit Testing ZFW


2009/8/3 Ryan Chan <ryanchan...@gmail.com>


>> php -f AllTests.php
>
>>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
>>allocate 7680 bytes)
>>in /home/ZendFramework/tests/Zend/Config/Writer/XmlTest.php on
>>line 54
>
>>I have checked my php.ini - memory limit is 32M.
>
>>Even I increased the value to 1GB, memory exhausted still exist,
>>anything I missed?

When you increased the memory limit, did the error above change to "Allowed 
memory size of  1073741824 bytes exhausted..."? If not, remember that the 
command line version of PHP has its own php.ini file, so make sure you're 
editing the correct one.

-- 
Tim Fountain
http://tfountain.co.uk/

Reply via email to