Dedecms solve the problem that you did not specify the size of file or file to upload exceeds the limit

Source: Internet
Author: User
Keywords Dedecms exceeding limit file size

Today, when using dedecms to upload thumbnails locally, suddenly you don't specify the file or file size that you want to upload exceeds the limit! It's very strange! has been used well, why suddenly such a problem?

Find the reason, found that the original php.ini file settings caused.

Immediate action to resolve:

Open the PHP configuration file php.ini and search for the following:

; Upload_tmp_dir =

After the comment is dropped, we read:

Upload_tmp_dir = d:\php\tmp

Note that the TMP file requires write and modify permissions

In addition, there are two parameters in the php.ini:

Pose_max_size

Upload_max_filesize

and modify the corresponding original value to a more appropriate value, recommended 10M

Save php.ini file, restart IIS, enter dedecmshttp://www.aliyun.com/zixun/aggregation/8984.html "> website management backstage, upload test picture, finally normal!"

Hope that these tips can help you solve the actual work problems, if you want to share your experience, please click on the link below the portal to submit: http://www.ithov.com/member/article_add.php

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.