Home > Operation and Maintenance > phpstudy > How to set a limit on file upload size in phpstudy

How to set a limit on file upload size in phpstudy

王林
Release: 2019-10-15 11:56:49
Original
5365 people have browsed it

How to set a limit on file upload size in phpstudy

The first step is to select "System Service" in the running mode in the pop-up box, and then click the start button above to run the service in "phpstudy".

How to set a limit on file upload size in phpstudy

The second step is to limit the upload file size. We need to modify three parameters; "post_max_size", "upload_max_filesize" , "max_input_time". Then click the other options button, then select "PHP Extensions and Settings", select "Parameter Value Settings", and click on the above three parameters to set them.

How to set a limit on file upload size in phpstudy

The third step is to set the limit on the size of the uploaded file according to your actual needs (generally do not set it too large), click the OK button, and the service will automatically restart. .

How to set a limit on file upload size in phpstudy

The fourth step, or click "Other Options Menu", select "Open Configuration File", then select "php-ini", click to enter the settings, as shown in the figure shown.

How to set a limit on file upload size in phpstudy

Recommended tutorial: phpstudy usage tutorial

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

Related labels:
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