How to increase the max upload size in XAMPP

How to Increase Max Upload size in XAMPP?


Today in this blog we will see how to increase the maximum upload size in XAMPP.

Why Increase the maximum upload size in XAMPP?

When we are creating a WordPress website, you can only upload up to 40MB. If the file size is more than that, it will not be updated. You have to increase the maximum upload size in XAMPP server so that you can upload more than 40MB.

First you need to change the values in the PHP (php.ini) file according to your needs and save it.

post_max_size = 1024M
upload_max_filesize = 1024M
max_execution_time = 6000
max_input_time = 6000
memory_limit = 1024M

Your file exceeds the maximum upload size for this site: 40 MB
How-to: Increase maximum upload file size or Get unlimited

How to: Increase maximum upload file size or get unlimited How to overcome this Error?

You will see how the maximum upload size can be increased. I have shown step by step so that you will know how to upload a large file.

Step 1:- Open the XAMPP control panel and go to Apache Config button and open the PHP (php.ini) file in Notepad.

Step 2:- Change post_max_size

post_max_size = Make 1024M instead of 40M.

Step 3:- Change upload_max_filesize

upload_max_filesize = Make 1024M instead of 40M

Step 4:- Change max_execution_time

max_execution_time = Make 6000 instead of 120

Step 5:- Change max_input_time

max_input_time = Make 6000 instead of 60

Step 6:- Change memory_limit

memory_limit = Make 1024M instead of 512M

Step 7:- OPEN XAMPP control panel and Restart Apache and MySQL.

Now save the changes that have been made in Notepad. Now open the XAMPP control panel, stop Apache and MySQL, then start Apache and MySQL again. Check now. Max Upload size has increased…


Related Posts

One thought on “How to Increase Max Upload size in XAMPP?

Leave a Reply

Your email address will not be published. Required fields are marked *