Home > CMS Tutorial > PHPCMS > What should I do if the phpcms v9 file is too large to be uploaded?

What should I do if the phpcms v9 file is too large to be uploaded?

藏色散人
Release: 2019-12-27 11:22:19
Original
2519 people have browsed it

What should I do if the phpcms v9 file is too large to be uploaded?

What should I do if the phpcms v9 file is too large and cannot be uploaded?

Recently, the editor encountered a situation where an attachment could not be uploaded in the phpcms program newly installed by a customer.

There are many reasons why phpcmsV9 cannot upload images. After research by the editor of Wuyou Host, we found that it is not a problem with the program code, but because the attachment size set in the background is limited. Because the default upload size limit of a single file uploaded by phpcms is 2M. Therefore, attachments exceeding 2M will not be uploaded. The prompt information is as follows:

What should I do if the phpcms v9 file is too large to be uploaded?

Attachment

Today I will share how to set the PHPCMS upload attachment size in the website background. limit.

Setting method:

Log in to the phpcms background – site settings – modification – attachment settings – allow attachment size, enter a value such as 20480. (This value can be the size you want)

What should I do if the phpcms v9 file is too large to be uploaded?

phpcms background

Set it in php.ini later, but use Customers who have occupied the space of the worry-free host do not need to set this value. The worry-free host has already been set, and the customer only needs to modify the settings in step 2.

Afterwards, the uploaded file will have the modified value.

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of What should I do if the phpcms v9 file is too large to be uploaded?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template