In this chapter, we will cover how to increase the limit of uploading file in PHP using .htaccess this is an Apache configuration file we can do many things with this but this tutorial is just only for uploading large file size.
Few steps you need to follow:
- Login to your cpanel
- Choose or Select domain where you want to increase
- create .htaccess in root direcoty
- and put the following code for uploading large file
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_input_time 300
php_value max_execution_time 300
Thanks, This will help you.