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

How to set a limit on file upload size in phpstudy

王林
王林Original
2019-10-12 17:57:415344browse

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!

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