Originally published at: https://www.cyberciti.biz/faq/how-to-install-php-7-2-on-centos-7-rhel-7/
How do I Install PHP 7.2 on CentOS 7 server? How can I setup and install PHP 7.2 on RHEL 7 server along with Nginx web server? How do I configure PHP-fpm version 7.2 with Nginx server running on a CentOS / Red Hat Enterprise Linux version 7?
Hello. I followed the tutorial:
https://www.cyberciti.biz/faq/how-to-install-php-7-2-on-centos-7-rhel-7/
It all seems to work, but only php72
has now been installed as an executable. Trying php -v
gives errors:
php --version
-bash: /usr/bin/php: No such file or directory
How can php72 become a synonym for php itself? Thanks.