coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: JamesonHsu on July 02, 2004, 09:53:07 AM

Title: File size issue
Post by: JamesonHsu on July 02, 2004, 09:53:07 AM
I've set my "Max size for uploaded files (KB)" option to 5120 so that I can theoretically upload files up to 5Mb.  However, when I try to upload any file over 2Mb nothing gets uploaded.  That led me to run the system in debug mode and I noticed the following information:

==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M


Why does the "upload_max_filesize" option say 2M when I've increased it to 5M?

Thanks,

Jameson
Title: Re: File size issue
Post by: Joachim Müller on July 02, 2004, 11:34:02 AM
You set the max filesize in coppermine to 5 MB, but the restrictions on your system apply: the output you saw in debug_mode come from the settings in php.ini!
If you're webhosted, you can't change them. If you're self-hosted, edit your php.ini file accordingly. This is all being described in detail on the sticky thread General Upload Troubleshooting (http://forum.coppermine-gallery.net/index.php?topic=5841.0) on the very sub-board you posted in, so my advice is: read all stickies before posting, and search the board before actually posting!

GauGau