我爱编程

mac os 安装 brew install php70

2018-04-12  本文已影响0人  _Net_

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)

上一篇 下一篇

猜你喜欢

热点阅读