PHP file upload size


Posted on 2015-01-13 17:45:52


If  you get trouble when getting file from your from submit in  PHP cause by file size limited, just check these steps : 1. Set upload_max_filesize in php.ini Example : upload_max_filesize=2M 2. Set post_max_size in php.ini Example : post_max_size=8M 3. Add config LimitRequestBody  (bytes) in your Apache config   It should work !