我正在尝试通过命令在我的 VPS 服务器上以 CLI 模式运行 PHP 框架(Think php6)php think run
。
php think run -p 443
该脚本需要 SSL 连接才能正常工作,但通过或拒绝在默认端口(80 和 443)上运行php think run -p 80
。
我收到此错误:
在 0.0.0.0:443 上收听失败(原因:地址已在使用中)
我尝试在我创建的地方使用神奇的 authbind,你/authbind/byport/80
猜/authbind/byport/443
怎么着?
authbind --deep /root/frameworks/thinktest/ php think run
结果:
/root/frameworks/thinktest/: 权限被拒绝