win7 xampp 验证码,session出不来的问题

需要在前面加上全路径,如:"\xampp\tmp" 变成"D:\xampp\tmp"

Warning: session_start(): open(\xampp\tmp\sess_i63e5a6itrtfri9smsr9t3geg3, O_RDWR) failed: No such file or directory (2) in F:\kanbox\phpcode\question2answer\qa-include\qa-app-users.php on line 150

php.ini

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = "D:\xampp\tmp"

; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
session.save_path = "D:\xampp\tmp"

attrib -r -a D:\xampp\tmp /S

相关文章:

  • 2022-01-27
  • 2021-11-29
  • 2021-08-06
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-05-29
  • 2022-12-23
  • 2021-03-26
  • 2021-10-12
  • 2021-04-22
  • 2021-06-20
相关资源
相似解决方案