尝试将测试 php 应用程序部署到我的 Azure 模拟器中时,我不断收到此消息
Using session id 1 Warning : Remapping public port 80 to 81 to avoid conflict during emulation. Warning : Remapping private port 80 to 82 in role 'PhpOnAzure.Web' to avoid conf lict during emulation. Created: deployment16(6) Deployment role instances not in "Started" state after 30 seconds. Exported interface at http://127.0.0.1:81/. C:tempWindowsAzurePHPAppbuild/WindowsAzurePHPApp.cspkg C:UsersManu>
我按照"在Azure上构建和部署PHP应用程序"教程(检查了CGI,也激活了PHP)进行了一些故障排除,但没有任何地方。还有其他人遇到同样的问题吗?我从这段代码中输出的是 Firefox 中的一个空白页,上面写着连接超时。
您是否正在运行任何其他Web服务器软件,例如Apache?IIS 需要控制才能正常运行。Firefox中的连接问题使我认为可能是IIS被阻止或无法启动。另一种寻找的可能性是,有时IIS会与PHP混淆,并将其中两个添加到模块列表中。还要检查一下