Check the value of the upload_max_filesize and post_max_size directives in the php.ini.
>---- Original Message ---- >From: Graham Drabble <usene...@drabble.me.uk> >To: email@example.com >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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php