Problem uploading a large file
Posted: Tue Dec 08, 2009 6:06 am
Hi,
I was trying to upload files larger than 12MB and it returns a 500 internal server error. There is no issues in uploading files upto 11mb in size. As i'm using a shared hosting I cannot access or change the php.ini file.I got following resutls when i executed phpinfo()
max_input_time -1 -1
max_execution_time 90 90
memory_limit 20M 20M
post_max_size 50M 50M
upload_max_filesize 50M 50M
I tried using the ini_set('max_execution_time',600); to exetend the script execution time. But its not working, Every time i upload file larger than 12mb the script executes some time and returns "500 internal server error".
Please help me as this is very urgent
Thanks in advance
Nikhil
I was trying to upload files larger than 12MB and it returns a 500 internal server error. There is no issues in uploading files upto 11mb in size. As i'm using a shared hosting I cannot access or change the php.ini file.I got following resutls when i executed phpinfo()
max_input_time -1 -1
max_execution_time 90 90
memory_limit 20M 20M
post_max_size 50M 50M
upload_max_filesize 50M 50M
I tried using the ini_set('max_execution_time',600); to exetend the script execution time. But its not working, Every time i upload file larger than 12mb the script executes some time and returns "500 internal server error".
Please help me as this is very urgent
Thanks in advance
Nikhil