session_start(): Session data file is not created by your uid

前端 未结 9 539
半阙折子戏
半阙折子戏 2020-12-18 05:56

I want to store the created sessions in a directory above the root, except when I use any of the following:

    session_save_path($_SERVER[\'DOCUMENT_ROOT\']         


        
9条回答
  •  旧巷少年郎
    2020-12-18 06:19

    For lampp users,
    - go to /opt/lampp/temp/
    - delete session file, and test again

    After testing again,
    If error message "Wrong permissions on configuration file, should not be world writable!" shows,
    Run the following at terminal:
    sudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php

    That worked for me ...

提交回复
热议问题