« Previous Next »

Thread: Install FastCGI Handler on just one site

Last post 11-02-2006 3:54 PM by RvdH. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 11-02-2006, 2:04 PM

    • RvdH
    • Not Ranked
    • Joined on 11-02-2006, 8:23 AM
    • Posts 9

    Install FastCGI Handler on just one site

    Hi, currently trying to install your preview of the FastCGI handler on IIS 6,
    Installation went smooth, only downside of this installer is the fact it installs the FastCGI handler on Server level instead of site level.
    Because i would like to try the FastCGI on a server that also serves a other (critical) PHP website which currently uses the PHP included ISAPI filter i am wondering if there is a way i can install the FastCGI filter alongside a normal PHP distubution?

    The command below will install it on server level, meaning it overrules my older manually installed PHP distribution,
    cscript fcgisetup.js /r /add c:\php\php-cgi.exe PHP

    Sincerely yours,

    RvdH

  • 11-02-2006, 3:47 PM In reply to

    • tomekb
    • Not Ranked
    • Joined on 05-23-2006, 9:30 AM
    • Wroclaw, Poland
    • Posts 11
    • IIS MVPs

    Re: Install FastCGI Handler on just one site

    You can control this on per site level, just go to the properties of you web site, go to "home directory" > "configuration", find extension handling .php files and change it to C:\WINDOWS\system32\inetsrv\fcgiext.dll or c:\php\php5isapi.dll depending on which solution you want for your particular site.

    Note that for this to work you have to enable both extensions in "web service extensions" in iis.msc and have the fcgiext.dll propersly configures (copied to inetsrv dir with the .ini file for your configuration). 

    Tom - IIS exMVP ;)
  • 11-02-2006, 3:54 PM In reply to

    • RvdH
    • Not Ranked
    • Joined on 11-02-2006, 8:23 AM
    • Posts 9

    Re: Install FastCGI Handler on just one site

    i believe i did exactly that, but somehow phpinfo kept reporting it was handled by CGI/FastCGI instead of ISAPI...
    Anyway after i comitted the /r switch it installed OK and i didn't have this issue

    thx,
    RvdH

Page 1 of 1 (3 items)
Microsoft Communities