has anyone out there installed PHP as a SAPI module of thttpd? We just tried it and it worked except for the fact that PHP said that it was installing as a CGI. Is this true? will performance be significantly reduced in this configuration over using PHP as an apache module?

    19 days later

    Nope, I just wasted the entire day today trying to get
    PHP-4.0.1pl2 to build as a SAPI module for thttpd-2.19

    Everything compiles, but thttpd SEGV's right after processing a PHP request (trying to realloc the request's response field).

    I also tried with thttpd 2.16 and 2.17 but same problem.

    If anybody knows of a solution, or has a working thttpd binary (i386/i686) please let me know.

      Write a Reply...