I am currently wondering which kind of interface is better...
ISAPI has more features and is more faster on windows(w2k sevrer)
but cgi is said to be more stable. Please help.
I need the http auth cuz I am using alot of users for PhpMYADMIN

    21 days later

    the versions of php i've used with iis are much more stable under cgi (since it runs out of process). isapi will be 15%+ faster (according to John @ PHP Everwhere's tests) than cgi, but i personally wouldn't risk the small performance improvement for stability. unless i did a huge amount of testing w/the isapi version.

    cheers.

    ==============================================
    http://badblue.com - Free, easy web server for Win32

    BadBlue - serving PHP under Windows since 2000

      [quote😛HP Installation Guide]

      If you wish to install PHP as a CGI binary, read this first:

      [url]http://www.cert.org/advisories/CA-1996-11.html[/url]

      Note, we consider installing PHP like this suicidal.
      [/quote]
      This may not apply, it depends on how IIS handles intepreters (I have forgotten as I haven't used IIS for ages!)

        Under IIS, there's no need to install the php executable in a cgi-bin folder. I believe you can throw it in another folder that has execute permission but can't be accessed via an http client-side request directly (which i believe is the main thrust of that advisory...)

        ====================================================
        http://badblue.com - Free, easy web server for Win32

        BadBlue - serving PHP under Windows since 2000

          oh right. thanks, for future experience, you never know when that bit if knowledge may be handy. Personally I have only ever had to use CGI once when ease of setup was essential, a client was due to view a site but my pc went down so I had to set up a webserver quick, I managed apache + mysql + php cgi in about 15 mins!

            Take a look at this. It's a pretty good explaination as to why you should use the CGI with windows.

              Write a Reply...