View previous topic :: View next topic |
Author |
Message |
mohamedismail -
Joined: 30 Sep 2013 Posts: 3 Location: Schaumburg, IL.
|
Posted: Mon Sep 30, 2013 10:45 am Post subject: PHP File Size |
|
|
What is the maximum size of a file that can be uploaded using PHP and how can we change this? _________________ Drupal Developers | Drupal Development |
|
Back to top |
|
 |
aprelium-support -
Joined: 20 Feb 2009 Posts: 356
|
Posted: Tue Oct 01, 2013 2:39 pm Post subject: Re: PHP File Size |
|
|
mohamedismail wrote: | What is the maximum size of a file that can be uploaded using PHP and how can we change this? |
A reply from the Drupal forums: https://drupal.org/node/97193 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Shena -
Joined: 09 Dec 2013 Posts: 2 Location: New York, USA
|
Posted: Wed Dec 11, 2013 3:41 am Post subject: |
|
|
upload_max_filesize indicates the maximum uploaded file.
Find upload_max_filesize, the default is to 8M
upload_max_filesize = 100M
It should be noted that, of the more than post_max_size upload_max_filesize settings as well. |
|
Back to top |
|
 |
elvieqsquire -
Joined: 02 Jan 2014 Posts: 2
|
Posted: Sat Jan 04, 2014 3:23 pm Post subject: |
|
|
Were you guys able to utilize that much capacity? _________________ :) |
|
Back to top |
|
 |
Gleedaniel13 -
Joined: 25 Jul 2013 Posts: 22
|
Posted: Thu Jan 09, 2014 1:37 pm Post subject: |
|
|
Quote: | upload_max_filesize indicates the maximum uploaded file.
Find upload_max_filesize, the default is to 8M
upload_max_filesize = 100M
It should be noted that, of the more than post_max_size upload_max_filesize settings as well. |
I do not understand this explanation. Could you emphasize it so well? _________________ Web Design Integration |
|
Back to top |
|
 |
aprelium-support -
Joined: 20 Feb 2009 Posts: 356
|
Posted: Sat Jan 18, 2014 8:47 am Post subject: |
|
|
Gleedaniel13 wrote: |
upload_max_filesize = 100M |
This is a parameter that should be changed inside your php.ini file. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Toasty -
Joined: 21 Feb 2008 Posts: 295 Location: Chicago, IL
|
Posted: Mon Jan 27, 2014 7:02 pm Post subject: |
|
|
Currently, it seems there is a 2GB cap on uploads, but there are several things that can interfere with that:
In your PHP.INI file:
upload_max_filesize
post_max_size
These should be the same, the files are technically "POSTed" and that directive will regulate the file size.
There are also methods of expressing the file size limitation on forms (which I presume you're not doing, as it is a bad idea).
Further more, the PHP code itself may be hard coded to prohibit file uploads of a certain size, or the allotted partition may not be large enough to handle the files.
Overall, any large files are best left to FTP uploads, even though PHP 5.6.0a1 adds support for filesizes larger than 2GB. _________________ Portfolio: Robert Lerner |
|
Back to top |
|
 |
|