Others

Increase PHP Upload File Size

php upload size 2
WAMP Server default value for uploading size usually is set only 2Mb for a single upload file. This can cause an error once developer / user try to upload file that is more than 2Mb into the webserver. However, this issues can be solve by changing the default value for uploading max filesize in PHP.ini file.

Click on WAMP server icon - Navigate to PHP - Open PHP.ini file (use Notepad++) and file value for upload_max_filesize = 2M and change the value from 2M to any other value that you required for example : upload_max_filesize = 10M

 

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 10M

 

Restart WAMP Server and test your upload!

Author Information
Muhammad Asyraf bin Wahi Anuar
Web Administrator
Asyraf enjoys life and has great enthusiasm for all outdoors activities especially MTB! Don't Follow Me. I'm Lost Too -_-

Muhammad Asyraf bin Wahi Anuar | Copyright 2017 | Informatic Trooper