A quick tip if you are getting timeout issues when creating new Laravel migrations:
$ php artisan migrate:make create_users_table --table=users --create
Created Migration: 2013_06_25_100053_create_users_table
Generating optimized class loader
[Symfony\Component\Process\Exception\RuntimeException]
The process timed-out.
Open up the vendor/symfony/process/Symfony/Component/Process/Process.php
file within your Laravel application and change the constructor from:
public function __construct($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array())
to this:
public function __construct($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = null, array $options = array())
This removes the timeout, and will prevent the error from happening.
Looking for reliable hosting for your Laravel projects? I recommend Clook Internet.
Hi, Any idea about this error: [Symfony\Component\Process\Exception\RuntimeException]
The process has been signaled with signal “11”. Every time I use terminal (OSX) for laravel via composer I get this issue.
I tried the above but nothing changed.
I have the same issue as Martyn
I have the same issue as Martyn, please help!
Hi,
I know that this thread is old, and hopefully you’ve already solved it, but people arriving in this thread may be intrested in trying to adjust the “process-timeout” value in the Composer.json-file.
“`xml
“config” : {
“process-timeout”: 0
}
““
The change of this value fixed my issue with timeout.