Php – uploading large files (mp4) to IIS 7.5 gives 500 Internal Server Error

iisiis-7.5PHPupload

I made a website on which i need to be able to upload video files and it has worked for quite a while. However after a while it just stopped working and now it will give me the following IIS error message when i upload a video. Images do work (possibly due to their smaller size). I use an html form with PHP server sided script to upload.

enter image description here

I have already set the user permissions for the entire inetpub to allow all actions for the IIS user.

If you have any idea what it could be PLEASE tell me, have been trying to fix this for weeks now.

Thanks in advance!

Best Answer

You probably have upload_max_filesize and/or post_max_size values set too low in php.ini.