Re: Memory limit Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check the value of the upload_max_filesize and post_max_size directives in the php.ini.


>---- Original Message ----
>From: Graham Drabble <usenet05@xxxxxxxxxxxxx>
>To: php-general@xxxxxxxxxxxxx
>Sent: Thu, Jun 23, 2011, 9:46 AM
>Subject:  Memory limit Problem
>
>Hi,
>
>I've got a problem with setting the memory limit in php.ini.
>
>I have
>memory_limit = 1024M      ;
>set in php.ini
>
>Checking with phpinfo says I have
>
>memory_limit 1024M 1024M 
>
>However when uploading a large file I get
>
>Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to 
>allocate 81439166 bytes) 
>
>(ie it seems I only have 128M available).
>
>There's plenty of RAM on the server.
>
>Any ideas?
>-- 
>Graham Drabble
>http://www.drabble.me.uk/
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux