Home  >  Article  >  CMS Tutorial  >  How to solve phpcms upload prompt error 500

How to solve phpcms upload prompt error 500

藏色散人
藏色散人Original
2020-02-04 11:34:042330browse

How to solve phpcms upload prompt error 500

Problem:

A 500 error occurred when uploading the background of a website made with PHPCMS;

The source code has not been touched before. Other websites made with PHPCMS can upload pictures normally. The server is Alibaba Cloud, the space is sufficient, and the pictures are not large. The problem occurred when I clicked upload after selecting the picture. At that moment, except that attachments could not be uploaded, everything else was normal, including adding and deleting columns, and publishing articles without pictures. Baidu couldn't solve the problem. Please give me some advice!

Solution:

Set the permissions of each directory to 777 and then restart the server.

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

The above is the detailed content of How to solve phpcms upload prompt error 500. 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