Topic: about remi php7.2 installation in CentOS 7.5
I install remi php7.2 in centos 7.5 by following instruction:
https://rpms.remirepo.net/wizard/. But not work. I have to use "yum install php72-php".
Here is output for using "yum install php":
# yum-config-manager --enable remi-php72
# yum install php
..
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Installing:
php x86_64 5.4.16-45.el7 base 1.4 M
Installing for dependencies:
libzip x86_64 0.10.1-8.el7 base 48 k
php-cli x86_64 5.4.16-45.el7 base 2.7 M
php-common x86_64 5.4.16-45.el7 base 565 k
Transaction Summary
======================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 4.7 M
Installed size: 17 M
Is this ok [y/d/N]:
I have also run "yum --disablerepo=* --enablerepo=remi-php72 search php", output of this command include many php package from base.
Question is:
1) is "yum install php72-php" right command too?
2) How to make "yum install php" install remi php72-php?
3) Now phpinfo.php cannot display any content and no /etc/php.ini file. What can I do?
# php --version
PHP 7.2.12 (cli) (built: Nov 6 2018 15:26:22) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Thanks in advance.