LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Change Session Directory

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2013, 12:00 PM
pardis pardis is offline
Senior Member
 
Join Date: Jun 2011
Posts: 82
Default Change Session Directory

Hello :

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

Regards
Reply With Quote
  #2  
Old 02-16-2013, 12:46 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
/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
Reply With Quote
  #3  
Old 02-16-2013, 12:49 PM
pardis pardis is offline
Senior Member
 
Join Date: Jun 2011
Posts: 82
my means following file location : sess_*
not /tmp/lshttpd

Thanks
Reply With Quote
  #4  
Old 02-16-2013, 12:57 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by pardis View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:47 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.