Php details on modifying the size limit of uploaded files,
1. Modify max_execution_time
In php, the execution time of the default page is 30 seconds. If the execution time exceeds 30 seconds, the script is stopped.
In this case, the web page cannot be opened. You can modify max_execution_time.
Search in php. ini
Max_execution_time
The default value is 30 seconds.
Max_execution_time = 0
0 indicates no limit
2. Modify post_max_size
Post_max_size: set the maximum size allowed by POST data. This setting also affects file upload.
The default post_max_size of php is 2 MB. If the size of POST data is larger than that of post_max_size $ _ POST and $ _ FILES superglobals, It is null.
Change the value of post_max_size
Post_max_size = 150 M
3. Modify upload_max_filesize
Upload_max_filesize indicates the maximum size of the uploaded file.
Find upload_max_filesize. The default value is 8 Mb.
Upload_max_filesize = 100 M
In addition, post_max_size is better than upload_max_filesize.
Thank you for reading this article. I hope it will help you. Thank you for your support for this site!