2017年十二月月 发布的文章
An another FPM instance seems to already listen on /Users/***/.valet/valet.sock
Mac 环境下,使用 brew-php-switcher 将 PHP 版本由 5.6 切换为 7.0 后,重启 php-fpm 服务报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
☁ etc brew-php-switcher 70 Switching to php70 Switching your shell Unlinking /usr/local/Cellar/php53/5.3.29_8... 0 symlinks removed Unlinking /usr/local/Cellar/php54/5.4.45_7... 0 symlinks removed Unlinking /usr/local/Cellar/php55/5.5.38_12... 0 symlinks removed Unlinking /usr/local/Cellar/php56/5.6.32_8... 17 symlinks removed Unlinking /usr/local/Cellar/php70/7.0.26_18... 0 symlinks removed Unlinking /usr/local/Cellar/php71/7.1.6_18... 0 symlinks removed Linking /usr/local/Cellar/php70/7.0.26_18... 17 symlinks created You will need sudo power from now on Switching your apache conf Restarting apache All done! ☁ etc sudo killall php-fpm && sudo php-fpm [15-Dec-2017 11:36:55] ERROR: An another FPM instance seems to already listen on /Users/gaoxuhui/.valet/valet.sock [15-Dec-2017 11:36:55] ERROR: FPM initialization failed |
近期评论