随着版本的升级安装了php7.3 怎么查看版本呢?
老方法
[root@localhost ~]# php -v -bash: php: command not found [root@localhost ~]#
新方法
[root@localhost ~]# php73 -v PHP 7.3.16 (cli) (built: Mar 17 2020 10:18:38) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.16, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.16, Copyright (c) 1999-2018, by Zend Technologies [root@localhost ~]#