Why composer install timeouts after 300 seconds?

后端 未结 9 671
南笙
南笙 2020-12-02 08:15

I have small project made in symfony2 when I try to build it on my server it\'s always fails when unzipping symfony. Build was OK and suddenly composer won\'t unzip symfony

9条回答
  •  臣服心动
    2020-12-02 08:48

    The easiest method is add config option to composer.json file, Add process-timeout 0, That's all. It works anywhere.

    {
      .....
      "scripts": {
        "start": "php -S 0.0.0.0:8080 -t public public/index.php"
      },
      "config": {
        "process-timeout":0
      }
    }
    

提交回复
热议问题