mac 下安装redis扩展一直目录没权限,那么php扩展如何指定位置安装?

查看:349
本文介绍了mac 下安装redis扩展一直目录没权限,那么php扩展如何指定位置安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

mac 下安装redis扩展一直目录没权限,那么php扩展如何指定位置安装?
zhangsandeMacBook-Pro:phpredis-master zhangsan$ sudo make install
Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20121212/
cp: /usr/lib/php/extensions/no-debug-non-zts-20121212/#INST@10110#: Operation not permitted
make: * [install-modules] Error 1

解决方案

楼主可以去了解一下brew,mac上面安装php版本,和扩展十分方便

这篇关于mac 下安装redis扩展一直目录没权限,那么php扩展如何指定位置安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆