lettie_dude Posted November 24, 2008 Share Posted November 24, 2008 Posted this in another forum but no-one seems to have a response so will try here. I have a problem where I am trying to upload large files upto 15mb to a windows 2003 server. The file uploads were working but now it seems they fail either after a period of time or if the file size is more than 2.5mb (aprox). The error I get is an HTTP 500 internal server error. The following is the settings in the php.ini file and the fastcgi.ini file. Can someone clarify that these are correct and if there are any other settings that need changing. Or if this could be due to windows server settings, proxy or firewall settings and if so what needs adjusting. Thanks in advance for any assistance. php.ini POST_MAX_SIZE = 15M UPLOAD_MAX_FILESIZE = 15M MAX_EXECUTION_TIME = 30 MAX_INPUT_TIME = 60 fcgiext.ini (added to the bottom of the file) [Types] php=PHP ExePath= (path) QueueLength=1000 MaxInstances=8 ActivityTimeout=300 InstanceTimeout=300 InstanceMaxRequests=10000 EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000 Link to comment https://forums.phpfreaks.com/topic/134029-large-file-upload-clarification-of-settings/ Share on other sites More sharing options...
mtoynbee Posted November 24, 2008 Share Posted November 24, 2008 I had the exact same problem using Windows Server 2003 (and IIS). I think the problem is within IIS - but I never had access to change the settings. Link to comment https://forums.phpfreaks.com/topic/134029-large-file-upload-clarification-of-settings/#findComment-697649 Share on other sites More sharing options...
lettie_dude Posted November 24, 2008 Author Share Posted November 24, 2008 OK cool. Does anyone know what settings need to be changed as I do have access! Link to comment https://forums.phpfreaks.com/topic/134029-large-file-upload-clarification-of-settings/#findComment-697652 Share on other sites More sharing options...
PFMaBiSmAd Posted November 24, 2008 Share Posted November 24, 2008 Check your web server error log file (probably the Windows Event log for IIS) to find out what error is occurring on the server and use a phpinfo() statement to find out if the php.ini that you are changing is the one the php is using and to find out what the actual values of the setting are. Link to comment https://forums.phpfreaks.com/topic/134029-large-file-upload-clarification-of-settings/#findComment-697679 Share on other sites More sharing options...
mtoynbee Posted November 24, 2008 Share Posted November 24, 2008 This might be useful: http://www.murraymoffatt.com/software-problem-0002.html Link to comment https://forums.phpfreaks.com/topic/134029-large-file-upload-clarification-of-settings/#findComment-697694 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.