php -v 找不到命令
[root@localhost htdocs]# php -v
-bash: php: command not found
export PATH=$PATH:/usr/local/php7/bin
[root@localhost bin]# php -v
PHP 7.1.7 (cli) (built: Jul 19 2017 13:17:29) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies