我试图用FPM模块安装PHP,但我根本不能。我在Mac上
brew install php74 --with-fpm --with-debug --with-cgi --with-libmysql --with-homebrew-curl我得到了:
错误:无效选项:-具有-fpm
无论我如何格式化它,我都不能让它工作。现在没有了吗?
发布于 2021-03-25 18:41:50
看上去是自动来的。通过发布php74来安装"just“brew install php@7.4将包括fpm。
来自自制文档:
php.ini和php-fpm.ini文件可以在以下文件中找到:$(brew --前缀)/etc/php/7.4/
也包括在这里:
在我的系统里,它只是起作用了:
现在启动
启动php@7.4,并在登录时重新启动: brew服务启动php@7.4,或者,如果不需要/不需要后台服务,只需运行:php
盯着FPM brew services start php@7.4后,它会监听端口9000
telnet localhost 9000
Trying ::1...
Connected to localhost.
Escape character is '^]'https://stackoverflow.com/questions/66804612
复制相似问题