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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > litespeed fastcgi handler

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2013, 02:56 PM
vacancy vacancy is offline
Member
 
Join Date: Sep 2012
Posts: 12
Default litespeed fastcgi handler

Hello

Fastcgi handler option can not be selected via Litespeed, I wonder how on litespeed software handler can run fastcgi, fastcgi run performance in terms of the benefit you?
Reply With Quote
  #2  
Old 01-28-2013, 10:26 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
you need to build PHP with fcgi api as follows:

http://www.litespeedtech.com/how-tos.html#qa_phpfcgi

lsapi + PHP is recommended over fcgi for better performance

http://www.litespeedtech.com/lsapi-l...interface.html

Quote:
LiteSpeed SAPI is designed to be the fastest server API for inter-process communication between LiteSpeed Web Server and third party web application, protocol overhead has been reduced to minimum. Comparing to FastCGI protocol, LiteSpeed SAPI has about 25% speed advantage over FastCGI for simple "Hello World" application.
Reply With Quote
  #3  
Old 01-28-2013, 10:57 AM
vacancy vacancy is offline
Member
 
Join Date: Sep 2012
Posts: 12
Thank you for letting me answer webizen.

When we compile fastcgi with easyapache via Cpanel, litespeed fastcgi handler is active, will you?
Reply With Quote
  #4  
Old 01-28-2013, 11:20 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Nope. it is manual work as indicated in the previous post: you need to compile PHP with --enable-fastcgi--enable-discard-path --disable-path-info-check and create fastcgi handler and link to fcgi external app using the compiled PHP.
Reply With Quote
  #5  
Old 01-28-2013, 03:15 PM
vacancy vacancy is offline
Member
 
Join Date: Sep 2012
Posts: 12
hello again

Php fastcgi protocol is enabled by adding the assembly of LSAP did, but when I compile the assembly and the assembly rules is canceled fastcgi doing without.

Lsapi configure settings
--enable-fastcgi--enable-discard-path --disable-path-info-check

the compilation of LSAPI

./configure '--prefix=/usr/local/lsws/lsphp5' '--disable-path-info-check' '--with-litespeed'

Some fastcgi is automatically canceled.
Reply With Quote
  #6  
Old 01-28-2013, 03:42 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
you should not use '--with-litespeed'. just to be clear: there is *no* litespeed fastcgi but regular fastcgi.
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 06:24 PM.



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