Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve the problem that the phpcms v9 file is too large to upload

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to solve the problem that the phpcms v9 file is too big to upload. It has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

What if the phpcms v9 file is too big to upload?

Recently, the editor encountered a situation in which an attachment could not be uploaded to a customer's newly installed phpcms program.

As there are many reasons why phpcmsV9 images can not be uploaded, after a study of the editor of the carefree host, it is found that it is not the problem of the program code, 20 because the size of the attachment set in the background is limited. Because phpcms's default size limit for uploading a single file is 2m. So more than 2m attachments will not be uploaded. The prompt message is as follows:

Attachment

Today, the editor will share how to set the size limit of PHPCMS upload attachments in the background of the website.

Setting method:

Log in to the phpcms backend-site Settings-modify-attachment Settings-allow attachment size, enter a value such as 20480. (this value can be the size you want.)

Phpcms background

Then set it in php.ini, but customers who use the space of the worry-free host do not need to set this value. The worry-free host has been set up, and customers only need to modify the setting in step 2.

After that, the uploaded file will be the modified value.

Thank you for reading this article carefully. I hope it will be helpful for everyone to share and solve the problem that the phpcms v9 file is too big to upload. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report