http://expert.csdn.net/Expert/topic/1981/1981462.xml?temp=.1207849
参看问题【3】
php.ini里面有这样一句
; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this 
; variable in order to use PHP's session functions.
session.save_path = /tmp

解决方案 »

  1.   

    session.save_path = /tmp
    在windows下应该改成windows下的路径,如/php/temp/,路径必须是你的机器上存在的物理路径。
      

  2.   

    提示错误:Warning: open(/tmp\sess_b325973b70eeafe388959d85f712e390, O_RDWR) failed: m (2) in Unknown on line 0Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
      

  3.   

    在php程序所在驱动器的根目录中建仪一名为tmp的目录即可