PHP session permission problem

前端 未结 4 1669
清歌不尽
清歌不尽 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

    I had this problem, as well. There was a line in /etc/sysconfig/httpd that was setting the umask improperly, so I commented it out:

    #umask 644
    

    All is well now.

提交回复
热议问题