Increase PHP upload file size
Come across to increase PHP upload file size is very common in Linux, Apache, MySQL, and PHP (LAMP) environment.
Edit /etc/php.ini
1. max_execution_time = 30 -> 300
2. memory_limit = 8M -> 16MB
3. post_max_size = double of upload size e.g upload size 10 MB -> post_max_size 20 MB
4. upload_max_filesize = 10M
Edit /etc/httpd/conf.d/php.conf
Change LimitRequestBody
Edit /etc/php.ini
1. max_execution_time = 30 -> 300
2. memory_limit = 8M -> 16MB
3. post_max_size = double of upload size e.g upload size 10 MB -> post_max_size 20 MB
4. upload_max_filesize = 10M
Edit /etc/httpd/conf.d/php.conf
Change LimitRequestBody
Comments
Post a Comment