Anarchatos Posted March 13, 2008 Share Posted March 13, 2008 Hi, I currently have an upload script running on my website which works perfectly fine, but whenever I try to upload a relatively large file the server times out and cancels the upload. Some of my members have to be able to upload files up to 150mb. I searched a bit and the only thing I found out is that I probably have to edit the php.ini (which my host will have to do since they won't let me). My question is: is there any other way to prevent the timeout? (without editing the php.ini) Link to comment https://forums.phpfreaks.com/topic/95890-upload-timeout/ Share on other sites More sharing options...
l0ve2hat3 Posted March 13, 2008 Share Posted March 13, 2008 use this ini_set('upload_max_filesize', '250M'); and maybe ini_set('max_execution_time', '300'); Link to comment https://forums.phpfreaks.com/topic/95890-upload-timeout/#findComment-490962 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.