Computing.Net > Forums > Web Development > Max size of file to upload php

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Max size of file to upload php

Reply to Message Icon

Name: Preeti (by gulati_preeti)
Date: February 20, 2006 at 22:34:46 Pacific
OS: Win 2000 server
CPU/Ram: p4
Product: Assembled
Comment:

Hi,
I want to know what is max size of file that php allows to be uploaded(if there is any restriction by php on size of file to be uploaded.)
Thanks
Preeti




Sponsored Link
Ads by Google

Response Number 1
Name: -Bryan-
Date: February 20, 2006 at 23:01:46 Pacific
Reply:

The default is 2mb. As long as you have access to the php.ini file, you can change the following:

upload_max_filesize
post_max_size
memory_limit
max_execution_time
max_input_time


As far as I know, the only limitations are that of your server.


0

Response Number 2
Name: Don Arnett
Date: February 27, 2006 at 18:46:44 Pacific
Reply:

I believe that there is an apache limit also (assuming that your webserver is using apache).

I researched this recently when installing OWL (document management system from sourceforge). I remember that there were three limits, one in OWL, one in PHP and I believe the the third was in apache. In my instance, the PHP limit was the smallest.


Be sure to come back and let us know if our suggestions helped!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Max size of file to upload php

Upload files to site? www.computing.net/answers/webdevel/upload-files-to-site/1990.html

Renaming of files.... www.computing.net/answers/webdevel/renaming-of-files/1786.html

PHP upload file to remote host www.computing.net/answers/webdevel/php-upload-file-to-remote-host/2763.html