View Full Version : Need help with server refresh
digstudiosads
May 6th, 2007, 07:46
Hey, I have installed Uber Upload 4.7 on my site and it works fine, there is just one problem. I want to allow my visitors to my site to upload files which can be upto 300mb. I have set it in the script, but when the upload gets to about 130mb or more depending on the visitors conection, the server refreshes.
I think this is something to do with the php install on the server refreshing after so many seconds e.g 2000 seconds.
But my host wont change any of the php settings because its a very big company and the settings are for everybody they host, so is there a script or anything I can do to stop php from refreshing or to turn of the refresh limit.
Thanks
DarkBlood
May 7th, 2007, 11:46
No, unless you know the PHP Code they use, it's impossible. Not only that, but HOW do they do that? They can't use the header function if I'm thinking correctly.
themoose
May 7th, 2007, 11:48
I've heard about editing php.ini if you place it in your local directory, have a look up on that.
DarkBlood
May 7th, 2007, 11:58
I've heard about editing php.ini if you place it in your local directory, have a look up on that.
But my host wont change any of the php settings because its a very big company and the settings are for everybody they host...
Should reconsider your reply Colin.
krakjoe
May 7th, 2007, 12:01
php.ini's in local directories do not affect other users, not that all php installations will look for a local php.ini, but most do, I believe it's the default behaviour.
DarkBlood
May 7th, 2007, 12:04
php.ini's in local directories do not affect other users, not that all php installations will look for a local php.ini, but most do, I believe it's the default behaviour.
php.ini is in the config directory above the www or home directories, this person can't go up that far, so they can't edit the php.ini anyway. I know this from running EasyPHP, which uses Apache.
krakjoe
May 7th, 2007, 12:07
php.ini's can also be created anywhere on the system that php runs, thats what colin is talking about, on most platforms you can just create a file named php.ini in your webroot or wherever you wanna change settings with the corrrect ini syntax ie
[php]
post_max_size = 160M
and that is enough to change the settings without effecting global ( as in server wide ) php settings, I know from being a programmer of php itself .....
DarkBlood
May 7th, 2007, 12:11
php.ini's can also be created anywhere on the system that php runs, thats what colin is talking about, on most platforms you can just create a file named php.ini in your webroot or wherever you wanna change settings with the corrrect ini syntax ie
[php]
post_max_size = 160M
and that is enough to change the settings without effecting global ( as in server wide ) php settings, I know from being a programmer of php itself .....
But there also may be a small chance that the system admin doesn't allow that, and may suspend the user's account.
krakjoe
May 7th, 2007, 12:13
possibly, I'm just providing the facts.
IMO if you have a website that calls for uploading of files that are in excess of 100mb you should really think about buying your own platform, a vps or dedi .... it's not fair to inflict that stress on a shared hosting server at all ......
themoose
May 7th, 2007, 12:38
Well why not the OP contact the host and find out?
krakjoe
May 7th, 2007, 12:51
lol, he is banned anyway ......
Decker
May 7th, 2007, 13:13
HEHE 1 post and that happend, wonder what went on there with the admin checks ;)
Joe is right (sometimes you have to put a copy in subfolders too, I think it depends on the php code but not my strongest point so I fold to more experience on that one) but hosts are usually okay with this if you ask them and they will normally supply the file by e-mail for you to drop in :)
themoose
May 7th, 2007, 13:17
Probably a bunch of other posts that were deleted.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.