PHP Upload fails for Video but not Image [closed]

The video may be going over your maximum upload size. To increase your maximum upload size, add the following lines to your .htaccess file:

php_value upload_max_filesize "200M"
php_value post_max_size "200M"

(Replace “200M” with whatever you want the maximum to be – “200M” means “200 megabytes”.)

Some hosts may not allow you to change those settings, in which case you’re out of luck.

These settings can also be changed via your php.ini file, but it’s less common for hosts to allow that.

Leave a Comment