Cannot increase maximum upload file size in local WordPress
Go to C:/Xampp/php/php.ini and find:
memory_limit=.....M
Change it to:
memory_limit=10000M
Then scroll down to:
post_max_size=.....M
And change it to:
post_max_size=9999M
Find:
file_uploads=...
If it's of write:
file_uploads=On
Scroll down and find
upload_max_filesize=....M
Write there:
upload_max_filesize=9000M
Also find:
max_file_uploads=.....
And write there:
max_file_uploads=10000M
Attention! Be careful! "Memory_limit" should have the largest number of megabytes. The next is "max_file_uploads", after which is "post_max_size", and last the "upload_max_filesize".
If there is still the same error, make your .htaccess like this:
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /your_site_name/RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /your_site_name/index.php [L]</IfModule># END WordPress # WP Maximum Execution Time Exceeded <IfModule mod_php7.c> php_value max_execution_time 300 php_value upload_max_filesize 9000M php_value post_max_size 9999M php_value max_input_time 300 </IfModule>