在Azure上从GitHub部署PHP应用程序失败

时间:2016-06-05 09:54:37

标签: php azure cakephp github

我正在尝试从Azure上的GitHub部署我的PHP(CakePhp 3.2)应用程序作为Web应用程序。我使用PHP 7运行时和Composer扩展。但每次我尝试部署我的应用程序时都会收到此错误:

Command 'starter.cmd D:\home\SiteExt ...' was aborted due to no output
nor CPU activity for 61 seconds. You can increase the
SCM_COMMAND_IDLE_TIMEOUT app setting (or WEBJOBS_IDLE_TIMEOUT if this
is a WebJob) if needed.\r\nstarter.cmd
D:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd

1 个答案:

答案 0 :(得分:1)

您可能会遇到默认情况下在Web App级别设置的超时限制。您可以在Web App设置中设置needed setting几分钟,它应该可以正常工作。您需要设置SCM_COMMAND_IDLE_TIMEOUT(请参阅上面提到的链接)。这应该会有所帮助。