WordPress Video/ Image upload HTTP error solved
WordPress common error while uploading the image or video file is HTTP error. You can fix this issue by this code.
<IfModule mod_security.c> <Files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule>
If above solution not works try this. Open your php.ini file and change these lines.
upload_max_filesize = 20M post_max_size = 40M
And restart nginx server/ php by using these commands
sudo service php5-fpm restart sudo service nginx restart
If it still doesn’t work, open your nginx.conf file and add this in the http block:
Then restart Nginx Server by this command.
sudo service nginx restart