The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP Maximum Upload Size
Hi
Im having problems uploading files larger than 2mb as attachments. Ive read about having to increase the size on the server, but my server owner will not do this. Is there any other way? I find it rather bad that this needs to be done, as many people will be in the same situation as me as the change affects all accounts on the server doesnt it? Any help would be really appreciated. Regards Ben undergroundportal.co.uk |
#2
|
|||
|
|||
If you don't have access to the PHP config and your hoster will not change it - I'm afraid there's nothing you can do....
|
#3
|
|||
|
|||
Quote:
Thanks Ben |
#4
|
|||
|
|||
You can move hosts, I'm sure there are plenty of hosts out there for you that allow larger then 2MB uploads, I know www.dreamhost.com is one and ASO allows 15MB i beleive.
Their service is probably better, and you might even save a few $$ |
#5
|
|||
|
|||
Hi
I dont really want to move hosts, ive tried before, done an sql backup, went to the new server and it wouldnt restore. I got given a load of crap from both hosts about versions etc but they were both running the same version. Is there any way to make a universal backup of the sql that will work with any my sql server? Also I dont think I will get hosting any cheaper, 4.99, unlimited everything, lifetime membership. If anyones interested please pm me, obviously not suitable for uploads greater than 2mb! :devious: Thanks |
#6
|
||||
|
||||
drop this in your htaccess file
php_value upload_max_filesize 10M // max size in Mb |
#7
|
|||
|
|||
i have quite a few .htaccess files for various things on my server. how would i go about determining which one is correct?
thanx |
#8
|
|||
|
|||
please specify this
|
#9
|
||||
|
||||
hbalagh1 is right about this. The upload_max_filesize directive defaults to 2Megs. It can be set from php.ini, httpd.conf or .htaccess from version 4.2.4 on. Before that it could be set from anywhere As he says, just add this line to the .htaccess file in the root directory of your forum. If there isn't a .htaccess file there, create one. Quote:
|
#10
|
|||
|
|||
i tried adding a .htaccess and every directory below where i would add it went offline.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|