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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > php/lsapi crash since 5.2.9

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2010, 12:43 PM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
Default php/lsapi crash since 5.2.9

Hi, my solaris 10 and openSolaris (nevada) servers have been running php 5.2.8 for a year using lsapi 4.8.

Today I attempted to upgrade php to 5.2.12. I also tried to upgrade to lsapi 5.0. The php file runs fine in "cli" mode, but it crashes when spawned. I'd seen this before, it was caused by one of the extensions and I just removed it. But I need all the extensions, so I need to know how to figure out what's causing this lsapi crash. I don't know what logs to look at.

I built all the releases, here are the results:

php 5.2.8 with lsapi 4.8 -- works
php 5.2.8 with lsapi 5.0 -- works
php 5.2.9 with lsapi 5.0 -- works
php 5.2.10 with lsapi 5.0 -- crashes
php 5.2.11 with lsapi 5.0 -- crashes
php 5.2.12 with lsapi 4.8 -- crashes
php 5.2.12 with lsapi 5.0 -- crashes


Please help. This has been a fairly frequent issue with the php executable that I compile, and I'd like to be able to upgrade to the latest version of php.
Reply With Quote
  #2  
Old 01-17-2010, 06:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Please try lsapi 5.1
http://www.litespeedtech.com/support...8063#post18063
If it still crashes, use lsapi 4.9
Reply With Quote
  #3  
Old 01-17-2010, 11:26 PM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
mistwang, I'd like to try this, but the instructions in post 18063 don't seem to apply to me.

I'm compiling PHP from scratch, using the PHP source code and putting the "litespeed" directory in the sapi directory of PHP, and compiling "--with-litespeed". I have never used lsws for building PHP.

Given that, I don't know how to turn on version 5.1 during compilation since I don't use the "buildconf.inc.php" file.
Reply With Quote
  #4  
Old 01-18-2010, 12:15 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
for manual build, if sapi/litespeed is lsapi 5.1, that's OK.

buildconf.inc.php is used by lsws web admin console to build php.
Reply With Quote
  #5  
Old 01-18-2010, 07:30 AM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
Well, I don't have the source code for LSAPI 5.1.

Where can I download it?
Reply With Quote
  #6  
Old 01-18-2010, 07:33 AM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
Oh, I see the downloads page was updated yesterday with version 5.1. It wasn't there in the morning.

That was my confusion -- you were talking about 5.1 when it didn't seem to be generally available!
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 09:57 AM.



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