-
-
Save iradofurioso/6acd2307e6be3a905493df81738c0101 to your computer and use it in GitHub Desktop.
PHP Artisan Tinker crashing all the time on MacOS Mojave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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