我正在尝试将我的Symfony 2应用程序部署到Microsoft Azure网站云。 为此,我按照本指南中的步骤操作 http://symfony.com/doc/current/cookbook/deployment/azure-website.html#configure-the-symfony-application
现在,当我进入“配置Symfony应用程序”步骤时,我运行命令 php composer.phar install
。我省略了 -d extension=php_intl.dll
切换为已加载扩展名。我实际上尝试了两者,它没有任何区别。
现在,在运行安装后命令时,我收到以下错误:
[Symfony\Component\Process\Exception\RuntimeException]
Unable to kill the process
我尝试增加max_execution_time(但无论如何都设置为0)并尝试设置 SCM_COMMAND_IDLE_TIMEOUT
app_settings中的参数为3600之类的值。仍然无法正常工作。
有任何想法吗? 这是完整的输出:
D:\home\site\wwwroot>php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[Symfony\Component\Process\Exception\RuntimeException]
Unable to kill the process
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no- progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
Fatal error: Uncaught exception 'Symfony\Component\Process\Exception\RuntimeException' with message 'Unable to kill the process' in phar://D:/home/site/wwwroot /composer.phar/vendor/symfony/process/Symfony/Component/Process/Process.php:801
Stack trace:
#0 phar://D:/home/site/wwwroot/composer.phar/vendor/symfony/process/Symfony/Component/Process/Process.php(177): Symfony\Component\Process\Process->stop()
#1 [internal function]: Symfony\Component\Process\Process->__destruct()
#2 {main}
thrown in phar://D:/home/site/wwwroot/composer.phar/vendor/symfony/process/Symfony/Component/Process/Process.php on line 801