[英]Mac Sierra : PHP 5.6 to PHP 7
Situation : 情况:
phpinfo function show 7.1.1 version of php phpinfo函数显示php的7.1.1版本
php -v show 5.6.30 version of php php -v显示5.6.30版本的php
Question : 题 :
How can I resolve this ? 我该如何解决?
The php version that shows 7.1.1 version is showing your php that came along with xampp or mamp. 显示7.1.1版本的php版本显示的是xampp或mamp随附的php。 Whereas the the version 5.6.30 is the php that pre-installed with os x sierra. 而版本5.6.30是os x sierra预先安装的php。
You can refer to this website to upgrade your php in os x sierra https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63 您可以访问此网站以在os x sierra中升级您的php https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-上的MacOS-Sierra公司,e1bfdea55a63
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.