感谢你的到来
一起学习进步

laravel php artisan serve启动错误:WARN Failed to listen on 127.0.0.1:8000 &openssl extension

  1. php artisan serve  命令执行后
    1. WARN Failed to listen on 127.0.0.1:8000 (reason: ?).WARN Failed to listen on 127.0.0.1:8001 (reason: ?).WARN Failed to listen on 127.0.0.1:8002 (reason: ?).WARN Failed to listen on 127.0.0.1:8003 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8004 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8005 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8006 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8007 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8008 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8009 (reason: ?).

      WARN Failed to listen on 127.0.0.1:8010 (reason: ?).

       

      解决方法:     修改php.ini文件

              variables_order = “GPCS”

  2. 报错:You must enable the openssl extension in your php.ini to load information from https://mirrors.aliyun.com/composer  , php.ini文件中的 extension=openssl  前面分号去掉
  3. 3

 

 

 

赞(0) 打赏
未经允许不得转载:IT起义网络科技 » laravel php artisan serve启动错误:WARN Failed to listen on 127.0.0.1:8000 &openssl extension
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微信:345497590QQ 345497590

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏