How to Increase Import File Size in Wamp Server for Wordpress ?.

How to Increase Import File Size in Wamp Server.


Increase Maximum file upload file size in WAMP to upload large files in WordPress ?


I have installed wordpress lacaly using WAMPServer in windows pc. When I tried to upload a file, wordpress displayed an error

successful outsourcing.pdf exceeds the maximum upload size for this site.

successful outsourcing.pdf is file name that i wanted to upload. It means i had to increase maximum upload size to upload large files more than 2MB.

Watch Video



To increase file upload size in WAMP Server i added following two lines at the bottom of PHP.ini file, So, If anything goes wrong i can easily find and remove these two lines.

You can find php.ini file in C:\wamp\bin\php\php5.3.5 in windows or just left click on Wamp icon in system Tray. Now go to PHP --> php.ini and open it.



and the following lines at the bottom of php.ini file.




upload_max_filesize = 32M
post_max_size = 32M


Now Go to system tray right click on WAMP Sever icon and click Restart All Services. Log into wordpress dashboarad and try uploading large file.
You should be able to upload files which are more than 2MB in size.

0 comments: