Fixing insert media HTTP error Wordpress

Make an .htaccess file in wp-admin, paste this line :

SecFilterEngine Off SecFilterScanPOST Off

define('WP_MEMORY_LIMIT', '64MB');