PHP session_start () error on server side

后端 未结 3 1897
星月不相逢
星月不相逢 2021-01-07 03:18

Im currently trying to move my site from localhost on my machine to my web server. And there is one problem.

Everything works fine, except login form for administrat

相关标签:
3条回答
  • 2021-01-07 03:54

    first step, check that the directory /var/php_sessions/ exists and is writable by your web server.

    0 讨论(0)
  • 2021-01-07 03:54

    phpGrid requies session to work.

    First of all, if you have access to php.ini, check if path in session.save_path is valid and writable. In Linux, by default, the path is /var/php_sessions/.

    Some web hosting services such as iPage, disallows shared user session folder for security reasons. Users MUST create and maintain their own session folder.

    http://www.ipage.com/knowledgebase/beta/article.bml?ArticleID=1290&type=How%20To#Nugget_1374

    If you don’t want to deal with all those and prefer more loose security hosting, we recommend bluehost or stablehost.

    0 讨论(0)
  • 2021-01-07 03:59

    maybe you should create the directory first. It seems that the directory in your config/config.php doesn't exists.

    0 讨论(0)
提交回复
热议问题