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
Internal Server Error on File Upload
Moderator: General Moderators
Re: Internal Server Error on File Upload
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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.