PDA

View Full Version : File size...


LgsOfChampions
09-16-2013, 11:24 PM
Where do you change the file size to upload on your forum. Trying to upload a zip file and says it's to big.

I checked the attachment section and i saw nothing... thanks

ozzy47
09-16-2013, 11:27 PM
ACP --> Attachments --> Attachment Manager, edit any extension you want to change and change the value in the Max File-size field.

smirkley
09-17-2013, 01:54 AM
You may have to also change the filesize limit in php too, if we are talking huge.

LgsOfChampions
09-17-2013, 02:37 PM
Yea, I've looked in there and edit everything before I made post and nothing worked. Still saying my file is to big to download on the board.

i can't seem to find the location to the php to change that, cause it's not in the attached manager nor the user groups

smirkley
09-17-2013, 03:45 PM
admincp --> maintenance --> view php info

What do these two variables state?
post_max_size ?
upload_max_filesize ?

You will most likely have to change those variables to a higher number ie
post_max_size 15M
upload_max_filesize 15M

Then HUP/Restart apache.

If you dont have root access to restart apache, you can try using a local php.ini file with this in it, thats if your host allows local php.ini override by clients, upload php.ini to your public_html/root folder.

post_max_size=15M
upload_max_filesize=15M

As well you host may allow php_flag in a htaccess file.
edit .htaccess and add the following to it.
php_flag post_max_size 15M
php_flag upload_max_filesize 15M

courtesy of snakes1100

ozzy47
09-17-2013, 06:35 PM
These server settings may also effect your attachment upload limits:

PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
wait_timeout