Discuzx upload file Error: Hint upload error:500 how to do

Source: Internet
Author: User

Like this problem is that you upload files than you have the server configuration of the specified file, such as: Your server can only upload 10MB, but you upload 11MB so

This error message will appear.


solution, just add this parameter to the configuration .

Open Ubuntu's fcgid configuration file for Apache:

The code is as follows Copy Code

#vim/etc/apache2/mods-enabled/fcgid.conf

Add the following parameter settings to this file. I set this to 10M, than PHP upload maximum 8M slightly larger. You can, according to your own needs,

Adjust the value of this parameter, note that the unit of this parameter is byte.

The code is as follows Copy Code

Maxrequestlen 10240000

Save exit, restart Apache:

The code is as follows Copy Code

#/etc/init.d/apache2 restart

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.