Increasing the PHP limits through the .htaccess file
When running an application, script, plugins, or even uploading a file via PHP, sometimes you may face an error when one of them exceeds the limitations set by your webserver. In this article, you’ll learn how to fix the error by increasing the default limit of upload_max_filesize through your .htaccess file.
To do that, access the .htaccess file that’s located in your public_html folder.
Then, add the subsequent lines at the end of the file, changing the limits according to your required values, and click on Save.
NOTE:
Make sure that your plan supports the limits you’re trying to set.
That’s it! Now you know how to increase your upload_max_filesize value through .htaccess