海天的页首,暂无

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

posted @ 2017-09-10 16:25  海天网  阅读(332)  评论(0编辑  收藏  举报
海天的页脚,暂无