forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: fennec on March 18, 2007, 10:07:28 pm

Title: FATAL ERROR with zlib
Post by: fennec on March 18, 2007, 10:07:28 pm
hi

i use coppermine 1.4.10 very good product

When i want to down zip file in my favorite i have this error

Code: [Select]
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1804813 bytes) in /var/www/include/archive.php on line 442
I use on linux ubuntu

Code: [Select]
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

thanks for your help
Title: Re: FATAL ERROR with zlib
Post by: Joachim Müller on March 19, 2007, 07:36:58 am
You're running out of memory, as zipping a file is a resources-consuming process. Either zip less files in one go, or (if the server is yours to administer) assign more memory to PHP.
Title: Re: FATAL ERROR with zlib
Post by: fennec on March 19, 2007, 09:20:05 pm
OK thanks

With 1 photo is the same

It's my server yes, do you known how assign more memory to php?

Thanks
Title: Re: FATAL ERROR with zlib
Post by: Nibbler on March 19, 2007, 09:21:43 pm
memory_limit in php.ini
Title: Re: FATAL ERROR with zlib
Post by: fennec on March 19, 2007, 09:44:36 pm
all it's ok

lot of thanks

origin memory=8M i put 20M