Skip to content

Instantly share code, notes, and snippets.

@iradofurioso
Created June 13, 2019 14:06
Show Gist options
  • Save iradofurioso/6acd2307e6be3a905493df81738c0101 to your computer and use it in GitHub Desktop.
Save iradofurioso/6acd2307e6be3a905493df81738c0101 to your computer and use it in GitHub Desktop.
PHP Artisan Tinker crashing all the time on MacOS Mojave
Problem: PHP Artisan Tinker crashes from issuing any command and leaves no logs.
Solution:
According to developer's forum: https://github.com/bobthecow/psysh/issues/540#issuecomment-446480753 it is necessary to edit
the following file:
~/.config/psysh/config.php in case the file do not exist just create a new one vim ~/.config/psysh/config.php
Add the following content:
<?php
return [
'usePcntl' => false,
];
:wq!
Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment