PHP

How to increase the file upload size for PHP using the .htaccess file

Written by Ian Carnaghan · 7 sec read >

Copy the following lines into your .htaccess file, you may adjust the values as you see fit 

	php_value upload_max_filesize 10M
 
	php_value post_max_size 20M
 
	php_value memory_limit 128M

Last Updated On March 22, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

avatar
  Subscribe  
Notify of