1、在 PHP 环境中报错:Notice: Unknown: file created in the system’s temporary directory in Unknown on line 0。如图1
<br /> <b>Notice</b>: Unknown: file created in the system's temporary directory in <b>Unknown</b> on line <b>0</b><br />
2、查看 php.ini 文件,原因在于 文件上传时用来存放文件的临时目录 不存在所导致。新建对应的目录后,不再报错。
upload_tmp_dir = "E:/phpuploadtmp" session.save_path = "E:/phpsessiontmp"
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/181710.html