File size issue File size issue
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

File size issue

Started by JamesonHsu, July 02, 2004, 09:53:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JamesonHsu

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

Joachim Müller

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 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