LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   memory_limit in php.ini not working (http://www.linuxquestions.org/questions/linux-newbie-8/memory_limit-in-php-ini-not-working-700832/)

yang_wayne 01-29-2009 11:49 AM

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?

datopdog 01-30-2009 05:21 AM

There are other values that you need to see, not just memory allocation.

http://www.php.net/manual/en/feature...ost-method.php

And you could also be editing the wrong ini file.

Take a look at
Code:

phpinfo()


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