WordPress Video/ Image upload HTTP error
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.
SecFilterEngine Off
SecFilterScanPOST Off
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:
client_max_body_size 100m;
Then restart Nginx Server by this command.
sudo service nginx restart