HTTP error – Uploading large videos
-
Hello,
I have a problem uploading large videos to WordPress, what is stranger is that there are sites from which I get the error(my office, hom, etc.) and others don’t(others offices).
1. define (‘WP_MEMORY_LIMIT’, ‘512M’); (wp-config.php)
2. I tested the filter ‘wp_image_editors’
4. I did tests with different Browsers and erasing the cache.
5. I did tests with simple names to avoid errors in this.
6. I did tests with another template and deactivating all plugins.
7. I did tests with this configuration in .htaccess:<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
8. I did tests with this configuration in functions.php:
add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) { return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); }
9. My php.ini:
memory_limit = 516M upload_max_filesize = 516M max_input_time = 300 max_execution_time = 300 post_max_size = 516M
I talked to my hosting provider and he says the problem is not with the Hosting if I’ve already been able to upload videos from somewhere.
Thanks!
- The topic ‘HTTP error – Uploading large videos’ is closed to new replies.