Large file upload clarification of settings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lettie_dude
Forum Commoner
Posts: 65
Joined: Thu Dec 07, 2006 10:10 am

Large file upload clarification of settings

Post by lettie_dude »

Hi

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

Code: Select all

ExePath= (path)
QueueLength=1000
MaxInstances=8
ActivityTimeout=300
InstanceTimeout=300
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
Post Reply