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".
#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!