I get an error when trying to use artisan command tinker. For example I would like to add a user. In my terminal I type
$ php artisan tinker
but when I enter it I get a warning saying:
Full REPL not supported. Falling back to simple shell.
What could the problem be for this error? Is it my terminal, php, permissions or something else?
After I get the warning I can type to create new user but it doesn't save it to the database. I'm not sure what REPL is.
If you are on debian like me this should work:
source: http://pkgs.org/debian-wheezy/dotdeb-i386/php5-readline_5.4.28-1~dotdeb.1_i386.deb.html
Add the following line to /etc/apt/sources.list:
deb http://packages.dotdeb.org/ wheezy all
Install GPG key of the repository:
wget http://www.dotdeb.org/dotdeb.gpg
sudo apt-key add dotdeb.gpg
Update the package index:
sudo apt-get update
Install php5-readline deb package:
sudo apt-get install php5-readline
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