For some reason, Fatcow’s hosting only allows a 60 second upload time. This seems way weird to me, but shared hosting is what it is. Still, i had a support ticket that seemed to go kind of oddly, i’m wondering what the experts think. I’m going to lay it out here, but to cut to the chase of their solution: write a script that constantly sends the data back to the server to make them know that things are working and it isn’t stalled, something like progress bar indicating the script processing the session progress.
Here’s how the support ticket went. Is the weird??? Think i need to get different hosting?
Subject: PHP Max Upload Size : 2MB
I’m attempting to use a video plugin in Wordpress, but it’s saying that the PHP Max Upload Size is only 2 MB. This is no good. Can i change this through my control panel?
I have increased the memory limit in the php.ini file to 64MB. You can edit the php.ini file at: http://members.fatcow.com/member/cgiManagement/PHPplus.bml .
Thanks for your help. This has partially helped the situation. I have larger videos that take longer than 60 seconds to upload. I attempted to change the timing limitations on the PHP.INI file (somewhat blindly - not sure what does what), but i don’t think it’s changing anything. I also just read in your FAQ "FatCow cannot allow custom scripts to impact the performance of other customer sites on our shared hosting platform. "; and therefore are killed after 60 seconds. This just won’t work for me. Sixty seconds isn’t long enough to upload my files. Can this be changed, or do i just need to find another host service that doesn’t have this limitation (I’m not trying to be rude, but, objectively, i just have to do something about this).
The PHP script timeout period is set to 60 seconds on our server. It wouldn’t be possible for us to increase this as it would reduce the performance of everyone using that CGI server, since a runaway script would take that much longer before it is killed.
A solution for this is to write a script that constantly sends the data back to the server to make them know that things are working and it isn’t stalled, something like progress bar indicating the script processing the session progress.
That’s a great idea. I have no clue how to do that. I think it’s ridiculous that i would need to. Can’t your server tell the difference between a runaway script and something actively being uploaded without somebody like me having to babysit it self-made scripts?
We apologize for any inconvenience this may have caused you. You can check in the internet search engine for the specific codes.
Thanks for reading - and any input. Also - it took me a while to figure out where to post this. If you think this thread would be better on another forum, let me know.