Mac brew 安装 php7 一些注意事项
来源:互联网 发布:xp怎么连接网络打印机 编辑:程序博客网 时间:2024/06/07 15:31
系统版本:Mac OSX 10.12.3
1.如果你的服务器是 Apache
,自 MacOS Sierra 系统发布后,homebrew 里的 php70 安装时默认不会编译 Apache 的 libphp7.so 模块,务必加上 --with-apache
参数,如: brew install php-70 --with-apache
2.开启 php7
模块
LoadModule php7_module /usr/local/Cellar/php70/7.0.19_11/libexec/apache2/libphp7.so
3.将 Apache
安装目录 /etc/apache2
下的 other
里面的 php5.conf
,复制为 php7.conf
并修改内容 php5_module
为 php7_module
4.找到 Require all denied
替换成 Require all granted
阅读全文
0 0
- Mac brew 安装 php7 一些注意事项
- MAC-brew安装 php7 nginx mysql
- Mac安装Brew
- [mac]brew安装软件
- mac安装brew
- Mac安装Brew
- Mac安装Brew
- mac 安装使用 brew
- Mac安装Brew
- Mac安装Brew
- Mac OSX安装brew
- Mac安装Brew
- mac 安装 brew
- Mac 安装brew
- Mac 安装工具包brew
- Mac安装Brew
- Mac安装Brew
- Mac安装Brew
- hdoj 2051
- Scala基础—集合函数式编程示例(占位符的使用示例)
- redis scan 命令遇到的坑总结
- CPU卡COS系统文件结构详解
- mvc 安装和卸载 bootstrap
- Mac brew 安装 php7 一些注意事项
- 常用控件(三)
- Java组合设计模式
- hdoj 2111
- 考研之华东师范
- Educational Codeforces Round 23#B. Makes And The Product
- shiro的freemaker标签配置使用
- 随机投影森林-一种近似最近邻方法(ANN)
- 解救小Q UESTC