Home >Backend Development >PHP Tutorial >PHP upload file size limit for first-grade Chinese courseware published by People's Education Press

PHP upload file size limit for first-grade Chinese courseware published by People's Education Press

WBOY
WBOYOriginal
2016-07-29 08:40:181379browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn