Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1787
  • Last Modified:

Upload problems with php/iis/mysql website

I am working with a website created with PHP, MySQL, & IIS 7. Part of the purpose of the site is to be an access point for customers to upload and download content. Some of the files are large. Is there a limit on how much data can be uploaded or downloaded to a site? I was able to upload a small 12mb file. When I attempted a 50mb the page fails. I need to get this where it will upload these large files(maybe as much as 100mb).
0
jbcbussoft
Asked:
jbcbussoft
  • 3
  • 3
  • 2
  • +1
3 Solutions
 
LAMASECommented:
Yes, check the PHP.ini file for upload_max_filesize and  post_max_size
0
 
jbcbussoftAuthor Commented:
They are both set at 100M.
0
 
LAMASECommented:
Please verify it with phpinfo();

However remember that upload large files trough http is slow and in case of network problems you have no resume!
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
LAMASECommented:
...and note that using a browser to handle very large files can freeze it
0
 
Dave BaldwinFixer of ProblemsCommented:
IIS has it's own limits in addition to what PHP sets.  Here's some info: http://www.cyprich.com/2008/06/19/fixing-file-upload-size-limit-in-iis-7/
0
 
F IgorDeveloperCommented:
Also you can check the "max_execution_time" value to ensure the scripts
runs over a huge amount of time.... (example)

ini_set("max_execution_time","3600");  // one hour max execution
0
 
jbcbussoftAuthor Commented:
Sorry for the delay. I read the article DaveBaldwin suggested and I edited the web.config file but I got less than satisfactory results. How do edit this file? What program should I use. I read about the file but I'm not sure I 'got' what was being presented.
0
 
Dave BaldwinFixer of ProblemsCommented:
I recommend you "Request Attention" above.  The moderators will send out messages to get other experts to take a look at your question.  People who know more about this than I do.
0
 
F IgorDeveloperCommented:
the web.config file is an XML file with configurations for some web directory or application
(it's parto of all ASP.NET applications when they are created as "application" in IIS)

If you want to apply this configuration for all applications you need to edit the web.config
file in the rrot IIS directory (C:\inetpub\wwwroot\). If you prefer to create a custom web.config file in the web application directory you need to change the folder in IIS administration using  "convert to application" option. Then you can edit or create  a web.configfile  in the root of your web app.

I'm not sure that this configuration affects PHP based web applications, but you can try if it works.

0
 
jbcbussoftAuthor Commented:
There wasn't a resolution. I have put this off for a while. Thanks for all of the responses
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now