-
- file_uploads = On ; Turn on the file upload option
- upload_max_filesize = 500M ; Upload file limit
Copy code
If you want to upload a larger file, the above two are not enough, you also need to set the server cache limit Increase the value to increase the maximum execution time of the script.
As follows:
-
- post_max_size = 500M; post upper limit
- max_execution_time = 1800; ; Maximum amount of memory a script may consume (128MB)Memory limit
-
-
Copy code
|