Home >Backend Development >PHP Problem >How to modify the size and type of uploaded files in phpcms

How to modify the size and type of uploaded files in phpcms

王林
王林Original
2019-10-14 11:48:463031browse

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

How to modify the size and type of uploaded files in phpcms

3. After entering the settings page, find "Site Management" and click "Site Management"

How to modify the size and type of uploaded files in phpcms

4. In Site Management Page, we find the site that needs to be changed, click "Modify" in the management operation

How to modify the size and type of uploaded files in phpcms

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

How to modify the size and type of uploaded files in phpcms

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

How to modify the size and type of uploaded files in phpcms

7. After the modification is completed, we need to update the website cache

How to modify the size and type of uploaded files in phpcms

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!

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