PHP session permission problem

前端 未结 4 1645
清歌不尽
清歌不尽 2021-01-18 15:13

I\'m trying to initialize a session but i get this error:

Warning: session_start() [function.session-start]: open(/tmp/sess_7af3ee9ec1350680bedcf63833

4条回答
  •  暖寄归人
    2021-01-18 15:28

    It seems like you do not have permissions to write to the tmp directory, you need to give it permissions to save a file.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题