On mac/terminal, I'm attempting to set up a local server with laravel but keep getting error that the php version is not up to date. I have attempted to install the needed 5.6 version via this tutorial, but I'm assuming it needs to be updated in my bash, possibly all things that are using it like Composer. I am not certain how to update the bash correctly or really what to do from here. https://coolestguidesontheplanet.com/upgrade-php-on-osx/ is how I updated. Also, if you have any suggestions as to what I can be learning to prevent this question in the future that would be much appreciated/where to start. EDIT: error: This package requires php >=5.6.4 but your PHP version (5.5.36) does not satisfy that requirement. terminal command: composer update
1条回答 默认 最新
- dtpk04526211 2016-08-29 06:54关注
Install php from homebrew
brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew unlink php56 brew install php70
see if it works for you. I had to alias to php7 in my ~/.bash_profile本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 乌班图ip地址配置及远程SSH
- ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
- ¥15 PSPICE制作一个加法器
- ¥15 javaweb项目无法正常跳转
- ¥15 VMBox虚拟机无法访问
- ¥15 skd显示找不到头文件
- ¥15 机器视觉中图片中长度与真实长度的关系
- ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
- ¥15 java 的protected权限 ,问题在注释里
- ¥15 这个是哪里有问题啊?