PHP File Size

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mohamedismail
-


Joined: 30 Sep 2013
Posts: 3
Location: Schaumburg, IL.

PostPosted: Mon Sep 30, 2013 10:45 am    Post subject: PHP File Size Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Tue Oct 01, 2013 2:39 pm    Post subject: Re: PHP File Size Reply with quote

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 View user's profile Send private message Visit poster's website
Shena
-


Joined: 09 Dec 2013
Posts: 2
Location: New York, USA

PostPosted: Wed Dec 11, 2013 3:41 am    Post subject: Reply with 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.
Back to top View user's profile Send private message
elvieqsquire
-


Joined: 02 Jan 2014
Posts: 2

PostPosted: Sat Jan 04, 2014 3:23 pm    Post subject: Reply with quote

Were you guys able to utilize that much capacity?
_________________
:)
Back to top View user's profile Send private message
Gleedaniel13
-


Joined: 25 Jul 2013
Posts: 22

PostPosted: Thu Jan 09, 2014 1:37 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Sat Jan 18, 2014 8:47 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Toasty
-


Joined: 21 Feb 2008
Posts: 295
Location: Chicago, IL

PostPosted: Mon Jan 27, 2014 7:02 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group