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!
#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:
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.
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:
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!