LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-29-2009, 12:49 PM   #1
Registered: Jan 2009
Posts: 40

Rep: Reputation: 15
memory_limit in php.ini not working

Users try to upload file 14 M from a php application. Get error
Fatal error: Allowed memory size of 78643200 bytes exhausted (tried to allocate 20781258 bytes)

I have changed php.ini memory_limit = 75M, and restarted server. But the error still exists.

Anyone can help?
Old 01-30-2009, 06:21 AM   #2
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
There are other values that you need to see, not just memory allocation.

And you could also be editing the wrong ini file.

Take a look at


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 03:31 AM
php.ini-dist to php.ini lord-fu Programming 10 05-02-2006 06:24 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 12:05 PM
Memory_limit in php.ini J_Szucs Linux - Software 0 02-07-2005 09:30 AM
php: different mail server from php.ini rayds Programming 0 09-14-2004 04:48 AM

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration