简体   繁体   中英

php cant upload file - Missing a temporary folder

I have a file upload form that used to work without any problems but now gives the error

Missing a temporary folder.

Missing a Temporary Folder

According to the link above I added upload_tmp_dir = "/ var / tmp" to the php.ini file, but it still displays the same message and the file is not uploaded.

php v: 7.4

I believe you have the right solution, it looks like the path is just wrong.

I believe it should be

upload_tmp_dir = "/var/tmp"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM