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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > FASTCGI to LSAPI migration

Reply
 
Thread Tools Display Modes
  #1  
Old 02-29-2012, 08:53 PM
accassar accassar is offline
Member
 
Join Date: Feb 2012
Posts: 31
Default FASTCGI to LSAPI migration

Hello,

I have a custom C fastcgi application that I am trying to migrate to LSAPI.

I use the function fcgi_putenv quite a bit, however I cannot find a corresponding LSAPI function.

How can I do this with LSAPI?
Reply With Quote
  #2  
Old 03-01-2012, 11:26 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
There are a few environment variables that can be tweaked to control the behavior of LSAPI application.

http://www.litespeedtech.com/php-litespeed-sapi.html => Configuration
Reply With Quote
  #3  
Old 03-01-2012, 12:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
I guess you use fcgi env as storage of temp variables, it wont affect LSAPI request/response in any way, so it is not implemented in LSAPI.

You need to implement your own storage for that purpose. a hash associate array is recommended.
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 05:18 PM.



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