Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Raising PHP memory limit?



On 1/19/07, Don Levey <lug at the-leveys.us> wrote:
> OK, on the face of it, this should be an easy question and answer.  Due to
> various software requirements (for example, Gallery2) I need to raise the
> memory limit for php from 8MB to 16MB.  Simple, right?  Just change the
> memory_limit parameter in /etc/php.ini from 8M to 16M, restart httpd, and
> you're off.  Well, not exactly.
>

I had to do this a few weeks ago when setting up DocMGR. As I recall,
I had to adjust three different settings in php.ini before it worked.

memory_limit - Maximum amount of memory a script may consume (8MB)
post_max_size : Maximum size of POST data that PHP will accept
upload_max_filesize : Maximum allowed size for uploaded files


-- 
John Abreau / Executive Director, Boston Linux & Unix
GnuPG KeyID: 0xD5C7B5D9 / Email: abreauj at gmail.com
GnuPG FP: 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org