mac下PHP环境配置常用操作

1 安装composer

https://www.jianshu.com/p/fd1b53df3f4b

2 修改为国内镜像

https://pkg.phpcomposer.com/

4 安装homebrew

https://www.jianshu.com/p/4e80b42823d5
改为国内镜像:
https://www.jianshu.com/p/5f1efab5a40a

3 安装mcrypt

先使用brew安装依赖软件:autoconf和mcrypt
首先去php官网下载php对应版本的源码,安装php-mcrypt:https://blog.csdn.net/nohaoye/article/details/47692907

猜你喜欢

转载自blog.csdn.net/wangyanphp/article/details/81739637
今日推荐