How do you Increase File Upload Size And Maximum Execution Time for Linux / Windows Hosting?
Learn how to increase the maximum execution time and to increase the file upload size for linux and windows hosting.
Follow the guidelines provided below.
Step 1: Create a php.ini file in your web root folder.
Step 2: You need to add the following to the php.in file.
max_file_uploads = 512M
max_execution_time = 300
You can also change, edit or set limitations for the file size, post size and memory limit by adding the following values.
upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M
You may also refer to the below tutorial link to know How to Change File Upload Size in PHP through Cpanel?