LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Change Session Directory (http://www.litespeedtech.com/support/forum/showthread.php?t=6682)

pardis 02-16-2013 12:00 PM

Change Session Directory
 
Hello :

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

Regards

webizen 02-16-2013 12:46 PM

/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

pardis 02-16-2013 12:49 PM

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

Thanks

webizen 02-16-2013 12:57 PM

Quote:

Originally Posted by pardis (Post 48936)
my means following file location : sess_*
not /tmp/lshttpd

Thanks

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


All times are GMT -7. The time now is 03:18 PM.