- php artisan serve 命令执行后
- 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”
- 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: ?).
- 报错:You must enable the openssl extension in your php.ini to load information from https://mirrors.aliyun.com/composer , php.ini文件中的 extension=openssl 前面分号去掉
- 3