Jump to content

Large file upload clarification of settings


lettie_dude

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.