centos7.2系统LNMP环境php7.1如何测试安装是否成功

2024-11-15 23:18:07
推荐回答(1个)
回答1:

[root@iZ94w0kemvtZ /]# php -v
PHP 7.0.2 (cli) (built: Jan 9 2016 14:00:11) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
这样就在CentOS 7下通过yum安装成功PHP7.