Installation phpmyadmin error: php71u-json conflicts with PHP-common-5.4.16

Environment installed: centos7 php7 openresty

enter: yum install-y phpmyadmin

appear:

Error: php71u-json conflicts with php-common-5.4.16-43.el7_4.1.x86_64

Error: php71u-common conflicts with php-common-5.4.16-43.el7_4.1.x86_64

You could try using-- skip-broken to work around the problem

You could try running: rpm-Va-- nofiles-- nodigest

has tried to execute:-- skip-broken and rpm-Va-- nofiles-- nodigest, have no effect. A lot of google didn"t work at all. How can you solve it?

Mar.03,2021

this is because your Yum source is php5.4, and your 7 + version conflicts. Two methods: change the yum source and then install it with yum, or compile and install with the source package. You may encounter installation dependencies when compiling and installing.


so far, phpmyadmin does not support php7+ brother dei


yum install scl-utils
yum install https://dl.fedoraproject.org/.
yum install http://rpms.remirepo.net/ente.
yum install php70
yum install php70-php-mysqlnd
yum install php70-php-curl
yum install php70-php -simplexml
yum install php70-php-devel php70-php-gd php70-php-json php70-php-mcrypt php70-php-mbstring php70-php-opcache php70-php-pear php70-php-pecl-apcu php70-php-pecl-geoip php70-php-pecl-imagick php70-php-pecl-json-post php70-php-pecl-memcache php70-php-pecl-xmldiff php70-php-pecl-zip php70-php-pspell php70-php-soap php70-php-tidy php70-php-xml php70-php-xmlrpc
sudo yum install-y phpmyadmin

Finally,google works.

Menu