Home > Article > Backend Development > How to set upload file size limit in php
Method: First open the "php.ini" file; then increase the values of the "upload_max_filesize", "post_max_size", "max_execution_time", "max_input_time", and "memory_limit" items.
The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
Steps:
1. Left-click wamp, select php, and select php.ini
2. After opening the file, modify the following contents:
PHP Video Tutorial"
The above is the detailed content of How to set upload file size limit in php. For more information, please follow other related articles on the PHP Chinese website!