热门IT资讯网

php -v 找不到命令

发表于:2024-11-26 作者:热门IT资讯网编辑
编辑最后更新 2024年11月26日,[root@localhost htdocs]# php -v-bash: php: command not foundexport PATH=$PATH:/usr/local/php7/bin[ro

[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


0