Select Page

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

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

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.