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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [Resolved] Yet another problem with Litespeed.

Reply
 
Thread Tools Display Modes
  #11  
Old 06-24-2010, 09:15 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
Exception: TypeError: t.responseJSON is null
please try:

1.edit lsws/conf/mime.properties, add
json = application/json

then restart lsws

if not working yet, try
2.recomplie LSPHP, just remove
'--disable-json'
Reply With Quote
  #12  
Old 06-24-2010, 09:19 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
No luck with:
json = application/json

Same result.

Before I rebuild php with json. json IS also disabled on the apache phpinfo output. Should this really matter?
Reply With Quote
  #13  
Old 06-24-2010, 09:24 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
probably. since mime application/json is seen in apache but not in lsws at the moment.
Reply With Quote
  #14  
Old 06-24-2010, 09:26 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Are LiteSpeed PHP and Apache PHP uses the same version of PCRE?
I think PHP crashed for some reason, and causes 503 errors. Check from ssh if you got PHP process running at 99% cpu when you update.

You need to strace or GDB attach to the PHP process using 99% CPU to find out what happened.
Reply With Quote
  #15  
Old 06-24-2010, 09:29 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Quote:
Originally Posted by mistwang View Post
Are LiteSpeed PHP and Apache PHP uses the same version of PCRE?
I think PHP crashed for some reason, and causes 503 errors. Check from ssh if you got PHP process running at 99% cpu when you update.

You need to strace or GDB attach to the PHP process using 99% CPU to find out what happened.
Kinda like this?

Quote:
1096 apache 6 -19 61856 44m 524 R 99.8 0.3 0:28.36 lshttpd
I have no idea how to strace or GDB to the PHP processes.


Are LiteSpeed PHP and Apache PHP uses the same version of PCRE?

How can I tell this?
Reply With Quote
  #16  
Old 06-24-2010, 09:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
phpinfo shows PCRE version.
If you use eAccelerator with LiteSpeed PHP, try turning it off see if it helps or not.
Reply With Quote
  #17  
Old 06-25-2010, 06:47 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Quote:
Originally Posted by mistwang View Post
phpinfo shows PCRE version.
If you use eAccelerator with LiteSpeed PHP, try turning it off see if it helps or not.
PCRE is the same on both webservers. Is there an option in LSWS to turn off eaccelerator?
Reply With Quote
  #18  
Old 06-25-2010, 06:52 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
in php.ini,comment off
extension=eaccelerator.so
Reply With Quote
  #19  
Old 06-25-2010, 06:56 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Hmm,
That does not exist in my php.ini file /etc/php.ini Though I know we are using it because it's installed and the cache files are created on disc.

Quote:
PHP 5.2.9 (cli) (built: Apr 28 2009 19:31:34)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
Reply With Quote
  #20  
Old 06-25-2010, 07:27 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
since
Quote:
'--with-config-file-scan-dir=/etc/php.d'
please grep eaccelerator.so in /etc/php.d
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 04:52 AM.



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