Home >Backend Development >PHP Problem >How to modify the upload file size limit in php
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.
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)
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!