Home  >  Article  >  Backend Development  >  How to modify the upload file size limit in php

How to modify the upload file size limit in php

王林
王林Original
2020-08-15 14:20:492392browse

How to modify the size limit of uploaded files in php: First enter the php installation directory, find the php.ini configuration file and open it; then find the configuration upload_max_filesize in the configuration file; finally modify the value of the configuration to 8M.

How to modify the upload file size limit in php

First enter the php installation directory, find the php.ini configuration file and open it;

(Recommended tutorial: php graphic tutorial )

Then find upload_max_filesize = 2M in the configuration file and modify it to upload_max_filesize = 8M.

(Video tutorial recommendation: php video tutorial)

How to modify the upload file size limit in php

The above is the detailed content of How to modify the upload file size limit in php. For more information, please follow other related articles on the PHP Chinese website!

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