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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > PHP + cgi_buffer using LS API

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2005, 08:03 PM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Default PHP + cgi_buffer using LS API

Hello,

I've been using cgi_buffer.php via auto_prepend on my server, due to it's support for ETag. I noticed on my dev box that if I compile PHP 4.3.11 using LS API support, that some of my scripts just stop working while cgi_buffer is enabled. It doesn't happen on all of the scripts, and disabling cgi_buffer and/or recompiling PHP using FastCGI solves the problem. I've produced it using both APC and Turck.

When it happens, PHP doesn't seem to crash. If I truss the process and then run the script, lseek() seems to return a EBADF and the PHP seems to call exit().

This is on a Sun Ultra 5 running Solaris 8 + the latest Maintenance Update + the latest Recommend Patch Cluster. PHP was compiled using gcc 2.95.4 snapshot (basically 2.95.3 + fixes).

The cgi_buffer.php script is basically stock, except I've had to rename the gzEncode() function to prevent conflicts.
Reply With Quote
  #2  
Old 05-26-2005, 08:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thank you for the bug report.

There is an updated release for PHP LiteSpeed SAPI.
Please try it. http://www.litespeedtech.com/lsapi/
Reply With Quote
  #3  
Old 05-26-2005, 08:58 PM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Quote:
Originally Posted by mistwang
Thank you for the bug report.

There is an updated release for PHP LiteSpeed SAPI.
Please try it. http://www.litespeedtech.com/lsapi/
Sweet, I'll try it when I get to work tomorrow. I had one other related problem, but I won't remember what it was or what I did to fix it until I look at it tomorrow also .

Man that was fast. Do you guys ever sleep?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing system php felosi PHP 3 07-16-2007 11:23 PM
Usability issue with LSAPI PHP jrmarino PHP 5 05-08-2007 01:54 PM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM
Custom PHP integration RikitZap Install/Configuration 2 04-25-2005 06:52 PM


All times are GMT -7. The time now is 12:48 PM.



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