Page 1 of 1

Internal Server Error on File Upload

Posted: Tue Jul 28, 2009 9:49 am
by trubeats
Hi,

I am getting an Internal Server Error when uploading files of a certain size. My php.ini values are;

memory_limit = 512M
post_max_size = 1024M
upload_max_filesize = 1024M

These values are confirmed with phpinfo(). I'm only trying to upload a 23MB file and it throws the 500 Internal Server Error. When I upload something smaller like 5mb, the upload works fine. I contacted the hosting company and they said they do not provide support for user written scripts, but I have a feeling that its nothing to do with my script, its the server. But I could be wrong. Anyone have any clues?

Thanks

Re: Internal Server Error on File Upload

Posted: Tue Jul 28, 2009 10:09 am
by pickle
Unless you're explicitely throwing the 500 error, I would tend to believe it's the server. I've never had that happen. If your file upload was exceeding some limit, it would throw that error - not give you a 500 error. That error happens outside PHP.