美文网首页我爱编程
mac os 安装 brew install php70

mac os 安装 brew install php70

作者: _Net_ | 来源:发表于2018-04-12 11:30 被阅读0次

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