1.brew install php70

2.找到apachectl httpd.conf文件,apachectl --ini ,按上图安装后中的提示修改内容:



3.$ open -t ~/.bash_profile

4.$ sudo apchectl restart
5.brew services restart php70 (如果不运行这个命令 php -v 时可能报错:-bash: /usr/local/bin/php: No such file or directory)
1.brew install php70
2.找到apachectl httpd.conf文件,apachectl --ini ,按上图安装后中的提示修改内容:
3.$ open -t ~/.bash_profile
4.$ sudo apchectl restart
5.brew services restart php70 (如果不运行这个命令 php -v 时可能报错:-bash: /usr/local/bin/php: No such file or directory)
本文标题:mac os 安装 brew install php70
本文链接:https://www.haomeiwen.com/subject/lelxkftx.html
网友评论