Welcome! Log In Create A New Profile

Advanced

Re: new php sapi (by litespeed)

October 02, 2009 05:01PM
Heres a checklist to help get started:

1) download the php 5.3.X sources and build --with-litespeed -> build ls-php binary
2) Study any available litespeed lsapi protocol documentation

3) Study the nginx fast-cgi module, how it forwards the requests
4) Study the 'how to write and nginx module' guide for writing an nginx module
5) Modify the existing nginx fast-cgi module (and replace the fcgi-specific parts with lsapi interface)

It may help to study these lsapi requests and responses directly by attaching to the TCP port.
i.e. Tracing the conversations between webserver and the ls-php program (ethereal)

You may also try to debug / step the code in php-src/sapi/litespeed.
This is OSS code available under BSD license.
Subject Author Posted

new php sapi (by litespeed)

dreamcat4 October 02, 2009 12:59PM

Re: new php sapi (by litespeed)

Aleksandar Lazic October 02, 2009 04:44PM

Re: new php sapi (by litespeed)

dreamcat4 October 02, 2009 05:01PM

Re: new php sapi (by litespeed)

Aleksandar Lazic October 04, 2009 10:16AM

Re: new php sapi (by litespeed)

Akins, Brian October 02, 2009 05:12PM

Re: new php sapi (by litespeed)

Marcus Clyne October 02, 2009 05:14PM

Re: new php sapi (by litespeed)

dreamcat4 October 02, 2009 05:31PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready