Home  >  Article  >  Topics  >  Pagoda panel sets the size of uploaded files

Pagoda panel sets the size of uploaded files

藏色散人
藏色散人forward
2019-09-02 14:17:509567browse

Sometimes in order to optimize performance, we need to make some adjustments to the uploaded files, so how should we set it up? Below, the Pagoda Usage Tutorial column will introduce to you how to set the size of the uploaded file in the Pagoda panel. I hope it will be helpful to friends in need!

Pagoda panel sets the size of uploaded files

#How to set the size of uploaded files in Pagoda Panel?

Log in to Pagoda Web Panel>> Software Management>> Run Environment, find the installed PHP version, and click "Settings" on the right, as shown in the following figure:

Pagoda panel sets the size of uploaded files

For example, in the PHP7.1 version, click "Upload Limit" and you will see that the default is 50MB. If you want to change it to a smaller or larger size, you can modify it directly, and then click the [Save] button. Can.

Pagoda panel sets the size of uploaded files

Sometimes to modify the size of the uploaded file, in addition to upload_max_filesize (the maximum size of the file allowed to be uploaded), you may also need to modify post_max_size (the maximum size of POST data) and max_execution_time (Maximum input time), at this time we only need to click "Configuration Modification">> Modify it directly according to your needs and click the [Save] button.

See the red box location in the picture below for details:

Pagoda panel sets the size of uploaded files

The above is the detailed content of Pagoda panel sets the size of uploaded files. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:boke112.com. If there is any infringement, please contact admin@php.cn delete