Answer the question
In order to leave comments, you need to log in
After installation on CentOS 7 PHP 7 says php: command not found, why?
Installed PHP 7 on CentOS 7 like this:
# rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm
# yum install php70u -y
Установка:
mod_php70u
Установка зависимостей:
apr
apr-util
centos-logos
httpd
httpd-tools
mailcap
php70u-common
Установлено:
mod_php70u.x86_64 0:7.0.8-1.ius.centos7
#whereis php
php: /usr/lib64/php /etc/php.ini /etc/php.d /usr/share/php
#php -v
-bash: php: команда не найдена
/usr/lib64/php -v
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question