Change Session Directory

Discussion in 'General' started by pardis, Feb 16, 2013.

  1. pardis

    pardis Well-Known Member

    Hello :

    Is it possible change LS default directory from /tmp to other place ?

  2. webizen

    webizen Well-Known Member

    /tmp/lshttpd is hardcoded so can not change. but you are free to symlink to different place.

    for php session, you can change the path defined in php.ini
  3. pardis

    pardis Well-Known Member

    my means following file location : sess_*
    not /tmp/lshttpd

  4. webizen

    webizen Well-Known Member

    that's the php session i talked about. find php.ini by lsphp5 and look for session.save_path.

Share This Page