View Full Version : Making attachment file size bigger?
dmknights
03-29-2009, 10:47 AM
Can anyone help me out on this?
Ive done the normal stuff in attachment manager
Set the bytes size to what i want
allowed for usergroups
etc etc
but the upload limit remains the same
I want to have an upload limit of 10MB for a zip file but its staying at 5.25MB
Any ideas?
snakes1100
03-29-2009, 11:30 AM
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
dmknights
03-29-2009, 02:39 PM
this is what my php info says:
post_max_size 8M
upload_max_filesize 2M
My php.ini file has max file upload of 60MB
ideas?
snakes1100
03-29-2009, 02:47 PM
You have to change both, not just one, also i stated your host may not allow local php.ini file over ride.
dmknights
03-29-2009, 02:55 PM
i said that is what my php INFO said!
NOT my php.ini
this is what my php.ini contains:
[PHP]
allow_url_fopen = On
allow_url_include = On
;;;;;;;;;;;;;;;;;;;;;;;;;;;
; forum.golzarion.com* by Mohsen ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
post_max_size=15M
upload_max_filesize=15M
Seven Skins
03-29-2009, 03:20 PM
Put one edited php.ini in forum root and one in admincp folder I done that in someones forum and problem was sorted.
dmknights
03-29-2009, 03:42 PM
put them in both root & admincp folder
Still no difference
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.