Home >Backend Development >PHP Problem >How to modify the size and type of uploaded files in phpcms
1. Enter the website backend URL in the browser, fill in the information and log in
2. After successful login, find "Settings" and click to enter the settings page
3. After entering the settings page, find "Site Management" and click "Site Management"
4. In Site Management Page, we find the site that needs to be changed, click "Modify" in the management operation
5. On the modify site page, we find the "Attachment Configuration" module, in which we You can modify the size and type of attachments allowed to be uploaded. We can see that the original default size is 2M
6. Change the default size to 20M. If you need to add permission to upload Attachment types can be added using the "|Type" method. After the modification is completed, click the "OK" button below
7. After the modification is completed, we need to update the website cache
Recommended tutorial: PHP video tutorial
The above is the detailed content of How to modify the size and type of uploaded files in phpcms. For more information, please follow other related articles on the PHP Chinese website!