首页 > 代码库 > php -v 找不到命令

php -v 找不到命令

[root@localhost htdocs]# php -v

-bash: php: command not found



[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


php -v 找不到命令