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

藏色散人
Release: 2023-03-14 06:04:01
Original
2155 people have browsed it

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
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template