【发布时间】:2017-11-11 01:23:56
【问题描述】:
我尝试安装 Phalcon PHP 但出现错误
php 5.3 is no longer supported
我检查 PHP 版本
$ php -v
返回
PHP 7.0.25-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Oct 27 2017 13:43:45) ( NTS )
但我检查了 phpinfo();
PHP Version 5.6.32-1+ubuntu16.04.1+deb.sury.org+1
【问题讨论】:
-
那么 5.3 仍然不是 5.6。但听起来你的服务器上可能有两个或更多版本的 PHP。如果您不确定,请咨询服务器管理员
-
使用这里提到的 php 版本管理器。 stackoverflow.com/questions/34505989/…