Increase file upload size in php
By default file upload size id 2MB in php.ini file but you can increase it in php.ini file or .htaccess file
Add below code in .htaccess file
php_value upload_max_filesize 10M php_value post_max_size 10M
Add below code in php file
ini_set('post_max_size', '64M'); ini_set('upload_max_filesize', '64M');
Add below code in php.ini file
upload_max_filesize = 20; post_max_size = 20;
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes0
No0