Home >Backend Development >PHP Tutorial >PHP upload file size limit for first-grade Chinese courseware published by People's Education Press
Configure the php.ini file (take uploading files below 500M in size as an example)
Find the following options and modify ->
file_uploads = On; turn on the file upload option
upload_max_filesize = 500M; upper limit of uploaded files
If you want to upload larger files , the above two are not enough, the server cache upper limit must be increased, and the maximum script execution time must be longer
post_max_size = 500M; post upper limit
max_execution_time = 1800; Maximum execution time of each script, in seconds Maximum execution time of script
max_input_time = 1800 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) memory limit
The above introduces the PHP upload file size limit for the first-grade Chinese courseware of the People's Education Press, including the content of the first-grade Chinese courseware of the People's Education Press. I hope it will be helpful to friends who are interested in PHP tutorials.