4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

composerでタイムアウトが発生する問題

Posted at

composerのタイムアウトはデフォルトで300秒になっています。

$ composer start
> php -f example.php
                                                                              
  [Symfony\Component\Process\Exception\ProcessTimedOutException]              
  The process "php -f example.php" exceeded the timeout of 300 seconds.  
                                                                              

start [--dev] [--no-dev] [--] [<args>]...

composer.jsonに以下の設定を追記することで、タイムアウトの秒数を変更できます。

composer.json
"config": {
    "process-timeout": 0
},

※ 0にすると無制限です。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?