如何使用PhpStorm配置PHP内置Web服务器

时间:2020-04-01 05:16:52

标签: php phpstorm

我来自以下问题。

How to configure debug mode with PhpStorm

但是我的问题已更改。

当我尝试通过PhpStorm菜单上的RUN按钮设置php artisan serve RUN时。 错误页面总是和上一个问题一样出现。

/usr/local/Cellar/php@7.3/7.3.16/bin/php -S localhost:8000 -t /xxxx/Projects/juno_server artisan serve
[Wed Apr  1 14:17:52 2020] PHP Notice:  Undefined index: argv in /xxxx/Projects/juno_server/vendor/symfony/console/Input/ArgvInput.php on line 49
[Wed Apr  1 14:17:52 2020] PHP Stack trace:
[Wed Apr  1 14:17:52 2020] PHP   1. {main}() /xxxx/Projects/juno_server/artisan:0
[Wed Apr  1 14:17:52 2020] PHP   2. Symfony\Component\Console\Input\ArgvInput->__construct() /xxxx/Projects/juno_server/artisan:36
[Wed Apr  1 14:17:52 2020] PHP Warning:  array_shift() expects parameter 1 to be array, null given in /xxxx/Projects/juno_server/vendor/symfony/console/Input/ArgvInput.php on line 53
[Wed Apr  1 14:17:52 2020] PHP Stack trace:
[Wed Apr  1 14:17:52 2020] PHP   1. {main}() /xxxx/Projects/juno_server/artisan:0
[Wed Apr  1 14:17:52 2020] PHP   2. Symfony\Component\Console\Input\ArgvInput->__construct() /xxxx/Projects/juno_server/artisan:36
[Wed Apr  1 14:17:52 2020] PHP   3. array_shift() /xxxx/Projects/juno_server/vendor/symfony/console/Input/ArgvInput.php:53

enter image description here 怎么了?

0 个答案:

没有答案
相关问题