任何人都可能有解决此错误的技巧:
“写入会话数据(文件)失败。请验证 session.save_path 的当前设置是否正确”
不能重新设置、读取或创建所有会话数据。
这是我的 php.ini 片段:
[Session]
session.save_handler = files
session.save_path = /home/oyugik/php/session
session.use_cookies = 0
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
请帮助我在这方面花费了足够多的时间