brew安装php-version
1 | # brew install php56 |
php开机启动
1 | # mkdir -p ~/Library/LaunchAgents |
切换本机php版本
1 | // 先确认phpinfo里面的php版本,先卸载5.6的plist,在加载7.1的plist |
1 | # brew install php56 |
1 | # mkdir -p ~/Library/LaunchAgents |
1 | // 先确认phpinfo里面的php版本,先卸载5.6的plist,在加载7.1的plist |