当前位置 主页 > 服务器问题 > win服务器问题汇总 >

    IIS7 fastcgi方式安装php

    栏目:win服务器问题汇总 时间:2019-12-08 15:51

    Microsoft Windows [Version 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.
    E:\Windows\system32>cd ../../x86
    E:\x86>dir
    Volume in drive E has no label.
    Volume Serial Number is 960B-9039
    Directory of E:\x86
    2007/09/30 15:01 <DIR> .
    2007/09/30 15:01 <DIR> ..
    2007/01/22 18:18 132,096 fcgisetup.exe
    2007/01/15 16:33 1,531 iisfcgi_schema.xml
    2006/10/27 15:12 9,445 license.txt
    2007/01/20 18:58 2,450 readme.txt
    2007/01/22 16:49 <DIR> x86
    4 File(s) 145,522 bytes
    3 Dir(s) 12,789,080,064 bytes free
    E:\x86>fcgisetup.exe
    fcgisetup.exe [/?] [/install] [/uninstall] [/add prog ext] [/remove prog]
    /install - Install FastCGI support
    /uninstall - Uninstall FastCGI support
    /add - Register a FastCGI program
    to handle the specified extensions
    /remove - Un-register a FastCGI program
    /? - Display this help message
    Examples:
    fcgisetup.exe /install /add c:\php\php-cgi.exe php,phpt
    1 step install - install FastCGI support on the server AND
    register the php-cgi.exe FastCGI program as the script processor
    for the PHP extension
    fcgisetup.exe /install
    Just install FastCGI support on the server
    fcgisetup.exe /uninstall
    Un-install FastCGI support on the server
    fcgisetup.exe /add c:\php\php-cgi.exe php,phpt
    Register the php-cgi.exe FastCGI program as the script processor
    for php, and phpt extensions
    fcgisetup.exe /remove c:\php\php-cgi.exe
    Un-register the php-cgi.exe FastCGI program

    E:\x86>fcgisetup.exe /install
    Stopping IIS services …
    Copied files
    Registered FastCGI configuration section
    Installed FastCGI module
    Starting IIS services …
    Success: Installation completed succesfully
    E:\x86>fcgisetup.exe /add e:\php\php-cgi.exe php,phpt
    Configured FastCGI pool
    Created handler mappings
    Success: Installation completed succesfully
    E:\x86>