Change Session Directory

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

  1. pardis

    pardis New Member

    Hello :

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

    Regards
  2. webizen

    webizen New 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 New Member

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

    Thanks
  4. webizen

    webizen New Member

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

Share This Page