How to set upload file size limit in php

青灯夜游
Release: 2023-03-09 06:20:01
Original
5633 people have browsed it

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.

How to set upload file size limit in php

The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

php sets upload file size limit

Steps:

1. Left-click wamp, select php, and select php.ini
How to set upload file size limit in php

in the pop-up window

2. After opening the file, modify the following contents:

  • Set the maximum file upload limit (the size of the value can be modified according to needs)
    How to set upload file size limit in php
    How to set upload file size limit in php
    How to set upload file size limit in php
  • Considering the speed of network transmission, modify some parameters here
    How to set upload file size limit in php
    How to set upload file size limit in php
    How to set upload file size limit in php
##Recommended learning: "

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!