PDA

View Full Version : 2 MB and bigger attachements


gmarik
03-02-2004, 04:24 PM
I store my attachments as files, but still there happen to be problems uploading larger attachemnts. Could I, as an admin, upload, for example, a 70 MB .rar archive via .ftp link to it and still it would count not as just a link, but would look like a real attachemnt?

Zachery
03-02-2004, 04:44 PM
I store my attachments as files, but still there happen to be problems uploading larger attachemnts. Could I, as an admin, upload, for example, a 70 MB .rar archive via .ftp link to it and still it would count not as just a link, but would look like a real attachemnt?
the 2mb limit is a server restrction not vBulletin :)

gmarik
03-02-2004, 07:10 PM
than how to get rid of it over Apache 2.0?

Zachery
03-02-2004, 08:31 PM
than how to get rid of it over Apache 2.0?
Best to ask Eva2000 at vB.com

ptbyjason
03-03-2004, 01:47 PM
you will need to edit the php.ini file becuase its an upload restriction in php.. the 2 meg restrition is there for security reasons thought.. i wouldnt suggest anything over 10 megs myself.. after you edit php.ini you will need to restart apache

LC

Steve Machol
03-03-2004, 05:18 PM
In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and changechange the upload size for both PHP and for MySQL. Note, you'll need to have root access to the server to do this (or have your host do it.) Make these changes to php.ini:

upload_max_filesize = xM

..and my.cnf

set-variable=max_allowed_packet=xM

Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.

Boofo
03-03-2004, 05:53 PM
Isn't there a timeout value somewhere you have to also change so the upload won't time out?