I trying to install Sylius composer create-project -s dev sylius/sylius
via Git bash in Windows (WAMP) and got this
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process ""c:\wamp\bin\php\php5.5.12\php.exe" "app/console" assets:insta
ll "web"" exceeded the timeout of 300 seconds.
i changed phi.ini
realpath_cache_size = 16k
realpath_cache_ttl = 120
memory_limit = 512M //było 128M
max_input_time = 600 //60
max_execution_time = 120
i did export COMPOSER_PROCESS_TIMEOUT=6000 ( defaults to 300 )
in MINGW32 (bash in windows) to change composer timeout like here https://stackoverflow.com/a/18917919/3190476
i did this $cfg['ExecTimeLimit'] = 0;
like here https://stackoverflow.com/a/17466797/3190476
Add config option in composer.json file It is best solution for your projects only add process-timeout key and value to 0
{....
"config": {
"process-timeout":0
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With