Home  >  Article  >  Backend Development  >  How to solve the problem of unknown error when uploading pictures in php ueditor

How to solve the problem of unknown error when uploading pictures in php ueditor

藏色散人
藏色散人Original
2021-11-23 09:50:052148browse

Solution to the unknown error when uploading pictures in php ueditor: 1. Find and open the php.ini configuration file; 2. Modify the parameters of "upload_tmp_dir".

How to solve the problem of unknown error when uploading pictures in php ueditor

#The operating environment of this article: Windows7 system, PHP7.1, Dell G3 computer.

How to solve the problem of unknown error when uploading pictures in php ueditor?

php deployment ueditor returns an unknown error (error 6) when uploading images

1. Mainly because of the upload_tmp_dir parameter in php.ini, the upload temporary directory is not specified, or the directory is not written permissions.

2. Use a text editor to open /usr/local/php/etc/php.ini and find the following location:

upload_tmp_dir = /data/wwwroot/tmp

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve the problem of unknown error when uploading pictures in php ueditor. 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