环境 Nginx:1.21.6 PHP:7.4.28 安装 安装nginx brew install nginx nginx命令生效 vim ~/.bash_profile # 添加一行 export PATH="$(bre
Nginx:1.21.6
PHP:7.4.28
安装nginx
brew install nginx
nginx命令生效
vim ~/.bash_profile
# 添加一行
export PATH="$(brew --prefix nginx)/bin:$PATH"
#重启终端配置
source ~/.bash_profile
将默认的/scripts$fastcgi_script_name -》 $document_root$fastcgi_script_name
来源地址:https://blog.csdn.net/Dead___Lock/article/details/127206996
--结束END--
本文标题: Mac配置php-fpm
本文链接: https://www.lsjlt.com/news/391415.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0