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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > IPB3 on LiteSpeed

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2010, 01:33 PM
g00g g00g is offline
New Member
 
Join Date: Apr 2010
Posts: 9
Default IPB3 on LiteSpeed

I installed LiteSpeed to replace apache, and whenever i make a new post to a topic, i get logged out, it looks like sessions are not being kept?

php build:
MODULES:
Code:
php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dom
eAccelerator
exif
filter
ftp
gd
gettext
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mcrypt
mhash
mime_magic
mysql
mysqli
openssl
pcre
posix
Reflection
session
SimpleXML
soap
sockets
SPL
SQLite
standard
suhosin
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend Optimizer
zip
zlib

[Zend Modules]
Zend Optimizer
the ionCube PHP Loader
Code:
Configure Command =>  './configure'  '--disable-cgi' '--with-litespeed' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-safe-mode' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr/local' '--with-bz2' '--with-config-file-path=/usr/local/lib' '--with-config-file-scan-dir=/usr/local/lib/php.ini.d' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-png-dir=/usr' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
im not getting any errors that i can see so im shooting in the dark right now...
Reply With Quote
  #2  
Old 04-11-2010, 01:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
check the session storage folder permission.
Make sure LiteSpeed setup match Apache's security model, if suphp is used with Apache, enable LiteSpeed PHP suEXEC, otherwise turn it off.
Reply With Quote
  #3  
Old 04-11-2010, 02:50 PM
g00g g00g is offline
New Member
 
Join Date: Apr 2010
Posts: 9
suEXEc is enabled since I had fast-cgi i guess you would call it running with apache.

check the session storage folder permission.
where is that?

Apache's security model
meaning? ive got both running as the same group nobody
Reply With Quote
  #4  
Old 04-11-2010, 04:31 PM
g00g g00g is offline
New Member
 
Join Date: Apr 2010
Posts: 9
is there a way to maybe use another php binary other then LSPHP just to see if its handeling sessions different? i know everything was working fine on apache, just dont know why its not working now and i would love to get litespeed 4core addition running on this i7 server :/
Reply With Quote
  #5  
Old 04-11-2010, 07:06 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
compare output of phpinfo() under apache and litespeed, check "session" part
Reply With Quote
  #6  
Old 04-12-2010, 12:29 AM
g00g g00g is offline
New Member
 
Join Date: Apr 2010
Posts: 9
both looked the same... and issue seems to be gone with apache running.

both:
Reply With Quote
  #7  
Old 04-12-2010, 01:14 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
what's the permission of /tmp?

#ls -ald /tmp

also check /tmp, if there is enough free space.
Reply With Quote
  #8  
Old 04-12-2010, 09:11 AM
g00g g00g is offline
New Member
 
Join Date: Apr 2010
Posts: 9
Code:
drwxrwxrwt 17 nobody nobody 53248 Apr 12 12:08 /tmp
and yeah,

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             2.0G  117M  1.8G   7% /tmp
I want to say I also tried using the old 4.10 SAPI when I was doing test runs, right now its the 5.3.

only thing I can think of is that theres a compatibility issue with the code when you go to post a reply... everything else as far as i could tell worked 100% fine.
Reply With Quote
  #9  
Old 04-12-2010, 07:34 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
whenever i make a new post to a topic, i get logged out, it looks like sessions are not being kept?
any related messages in error.log/stderr.log?
Reply With Quote
  #10  
Old 04-18-2010, 09:28 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Are you using a php opcode like eaccelerator on Apache/Litespeed?
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:27 PM.



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