有些程序要用到php的临时目录。

解决方案 »

  1.   

    如果没有设置,就会出现这个问题。在Php.ini中有
    [Session]
    session.save_handler      = files   ; handler used to store/retrieve data
    session.save_path         = /tmp    ; argument passed to save_handler
                                        ; in the case of files, this is the
                                        ; path where data files are 
    stored
    这样一项,其中的session.save_path         = /tmp就是问题,把session.save_path         修改为已经存在的目录。如d:\temp之类的。