gpt4 book ai didi

php - Laravel Valet php-fpm已经在代客 socks 上听了

转载 作者:行者123 更新时间:2023-12-03 11:22:06 26 4
gpt4 key购买 nike

我已经在Macbook上升级了代客(运行Catalina),并遵循了laravel文档,包括重新运行valet install命令,并发现了意外的502 Bad Gateway错误。我正在查看日志,发现

[27-Aug-2019 20:39:06] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:06] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:06] ERROR: FPM initialization failed
[27-Aug-2019 20:39:06] ERROR: FPM initialization failed
[27-Aug-2019 20:39:17] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:17] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:17] ERROR: FPM initialization failed
[27-Aug-2019 20:39:17] ERROR: FPM initialization failed

似乎有3个 php-fpm进程正在运行,尽管它们都是相同的php版本(7.3)。

谁能提供有关如何找到其他 php-fpm进程从何处触发以及如何解决此问题的想法?

最佳答案

经过几天的纠缠,我找到了关于serverfault的答案,建议删除监听的 socks 。所以我运行了rm ~/.config/valet/valet.sock并立即显示了尾部的php日志

[08-Sep-2019 16:55:48] NOTICE: fpm is running, pid 10316
[08-Sep-2019 16:55:48] NOTICE: ready to handle connections
所以我想这就是全部!

关于php - Laravel Valet php-fpm已经在代客 socks 上听了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57684758/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com