Full REPL not supported

前端 未结 4 1378
你的背包
你的背包 2021-01-12 13:50

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 
4条回答
  •  灰色年华
    2021-01-12 14:21

    One or more of readline posix and pcntl extensions are missing. You need to compile PHP with the appropiate configuration options to enabled it.

    Here are the instructions:

    • readline http://www.php.net/manual/en/readline.installation.php
    • pcntl http://www.php.net/manual/en/pcntl.installation.php
    • posix http://www.php.net/manual/en/posix.installation.php

    Note that posix functions are enabled by default.

提交回复
热议问题