dqcz57269 2014-02-12 08:18
浏览 64
已采纳

独立在IIS上安装PHP

I use IIS7 and Windows7 ultimate, and I need to install PHP on IIS in this machine, but the problem is I don't have any internet access in this computer, so the first step is search on standalone version, the result is nothing, then I try to install PHP on another machine (with internet access) and copy AppData files to target machine. So I install successfully in first machine and copy all the Web Platform Installer folder from AppData to target machine, but unfortunately the installation failed and need to connect to internet.

So how can I install PHP on IIS without internet access? I also have Web Platform Installer folder from first machine? does any one have any idea about this?

  • 写回答

2条回答 默认 最新

  • dseve40868 2014-02-12 13:33
    关注

    Do you have the php for windows executables somewhere on your PC? If yes then you can simply goto to IIS Add Managed Handler and add *.php as the Request Path Module : FastCgiModule Executable : F:\Program Files (x86)\PHP\php-cgi.exe and restart IIS.

    This should do it for you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?