Re: Memory limit Problem

From: Date: Thu, 23 Jun 2011 13:52:04 +0000
Subject: Re: Memory limit Problem
Groups: php.general 
Request: Send a blank email to php-general+get-313678@lists.php.net to get a copy of this message
Check the value of the upload_max_filesize and post_max_size directives in the php.ini. >---- Original Message ---- >From: Graham Drabble <usenet05@drabble.me.uk> >To: php-general@lists.php.net >Sent: Thu, Jun 23, 2011, 9:46 AM >Subject: [PHP] 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

« previous php.general (#313678) next »