pakenney38 Posted September 14, 2006 Share Posted September 14, 2006 I have a web form that is used to upload some 33 files at once to an "/uploads" folder on my web server, but am having an issue with Apache not wanting to deal with file sizes larger than 6-7MB per file. If I attempt to upload any file larger than that, I get "the page cannot be displayed" in the browser. At first, I blamed PHP. But then I rewrote the processing script in Perl, and now have the same issue with the Perl script. So I have to blame Apache. Quote Link to comment Share on other sites More sharing options...
oldmanice Posted September 14, 2006 Share Posted September 14, 2006 No it isnt the apache server what this means is your computer cant hold much space because the files are to big. I think your going to have to get more MB Quote Link to comment Share on other sites More sharing options...
pakenney38 Posted September 14, 2006 Author Share Posted September 14, 2006 You mean like the Web Server? It has 250 GB of hard drive space, 82% of that is available. It also has 2 GB of RAM. I'm confused on how this cannot be adequate.Or were you referring to the PC I am sending the files from? I still don't understand how a file that is at most 16MB would eat enough resources on either the client or server to cause this problem. Could you be more specific? Quote Link to comment Share on other sites More sharing options...
oldmanice Posted September 14, 2006 Share Posted September 14, 2006 Well if it has 250 GB of hard drive space, 82% of that is available then it should be fine maybe the version you are using dose not accept files higher than 6-7 MB you might want to download a higher version. And if that also dosent work then try more MB Quote Link to comment Share on other sites More sharing options...
pakenney38 Posted September 18, 2006 Author Share Posted September 18, 2006 It would be nice to have a serious reply to this topic. First of all, I recently updated all packages through yum, so I know everything is current version. Secondly, are you suggesting I update the RAM? Even the RAM is 2GB. If that's not enough to process say, and 16MB file, then there is some other problem. Quote Link to comment Share on other sites More sharing options...
R_P Posted September 21, 2006 Share Posted September 21, 2006 Few questions:When you were working with PHP, did you modify PHP.ini so that PHP and the POST method can handle those file sizes? I haven't tried modding a Perl config, so I don't know if there are similar settings to look at, but in PHP.ini take a look at these settings (and change per your req's):; Maximum size of POST data that PHP will accept.post_max_size = 8M; Maximum allowed size for uploaded files.upload_max_filesize = 2MYou also might want to try looking at the resource limits to make sure that PHP isn't hitting them, although you would be returned PHP errors, not page/access errors if that were the case.Additionally... Is the server on your local machine? Do you get the same error when you upload via a localhost address? If not, then it may be a network timeout issue.If you get the same error from localhost or you don't think its a network issue, the time it takes to process a large file maybe exceeding apache's Timeout setting which I believe defaults to 5 mins.Good luck. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.