Change Maximum upload file size in wordpress using Xampp

I was trying uplodin big XML file 8MB ( the7 demo content)and i need to change the Maximum upload file size to 256mb lot if pictuers ๐Ÿ™‚


ย create .htaccess file in your wordpress folder in my case is:
Like this :
C:\xampp\htdocs\the7\.htaccessand add the following code inside:

 php_value upload_max_filesize 256M
 php_value post_max_size 256M
 php_value max_execution_time 500
 php_value max_input_time 500

and save the file.
And that’s IT.

How to Increase the Maximum File Upload Size in WordPress

Many times i have this problem changing

max_execution_time, memory_limit, post_max_size, upload_max_filesize

mainly for the xml demo import and the images upload in library

Here is the soultion

in my server i needed to add this into .htaccess in the root above public_html folder

 SetEnv PHPRC /home/methaq48/public_html/php.ini

and then in each wordpress instillation folder u add php.ini with this

upload_max_filesize = 64M
post_max_size = 64M
 max_execution_time = 300