FASTCGI to LSAPI migration

Discussion in 'Apache Migration/Compatibility' started by accassar, Mar 1, 2012.

  1. accassar

    accassar Active Member


    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?
  2. webizen

    webizen Well-Known Member

  3. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page