I am trying to install phpmyadmin on my server but I am receiving errors:
Error: php70u-common conflicts with
php-common-5.4.16-36.1.el7_2.1.x86_64
Error: php70u-json conflicts with
php-common-5.4.16-36.1.el7_2.1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I am using Centos 7, have epel installed and when I try to use yum -y install phpmyadmin, I receive the above error. How to resolve this?
Related
I just installed CentOS 7 and PHP 7.1xx and MySQL but impossible to install phpMyAdmin. I have an error message but no answer on Google yes only one answer but which itself gives me the same error message.
rpm -iUvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y update
yum -y install phpmyadmin
Error: php71w-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
I couldn't install it directly by YUM either. As I remember, The problem is using CentOS 7 or php7 (in my case).
But you can solve your problem by access here: https://www.phpmyadmin.net/downloads/
then download any version you want, and config a little (decompress and copy that folder into /var/www/html/, ...), then you can use phpMyAdmin as normal.
I am trying to install php-bcmath on amazon os
sudo yum install php-bcmath
But i got the following error
Finished Dependency Resolution
Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Also i have tried with sudo yum install php-bcmath --skip-broken but the same error will be returned
It seems you have installed php70 in your system and default php version provided by os is php 5.3
Try this to install bcmath one of below command will work.
sudo yum install php70-php-bcmath
or
sudo yum install php70-bcmath
Hopen this will help.
I'm trying to install mbstring module in amazon ec2 server this is the error i'm receiving
command run "sudo yum install php-mbstring"
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I have googled and tried many options but nothing is defined for PHP 5.6
I have also enabled zend.multibyte in php.ini ( also verified it in phpinfo() )
Since you have php5.6 installed, the correct command to add mbstring support is
sudo yum install php56-mbstring
I would like to install php-devel on my server(CentOS 6.5).
yum install php-devel
However, I encountered the following error.
Error: php54-cli conflicts with php-cli-5.3.3-40.el6_6.x86_64
Error: php54 conflicts with php-5.3.3-40.el6_6.x86_64
Error: php54-common conflicts with php-common-5.3.3-40.el6_6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Could you tell me how to solve this problem?
It's because you have to chose between packages 5.4 and 5.3
i'll suggests to do :
yum remove php.*
sudo yum install php53-common php5-devel php5-cli
I need to install Mycrypt in order to run php artisan serve on my Centos 6.5. So, I added the EPEL by the following commands
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install php-mcrypt
However, when I run the yum install, the output is like this
Error: php55w-common conflicts with php-common-5.3.3-27.el6_5.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I don't know what to do at this point. Please help. Thank you in advance.
As the error suggests, it's conflicted. Your current install version of PHP differs from the one you're trying to install.
Maybe you're trying to install a 5.3 version against a 5.5. Look to find a matching version.
It's also possible you should to a "yum update" prior to installing the mcrypt RPM.
I found this from: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
It would help to know what version of PHP you are currently running. The mcrypt on the epel is php-mcrypt-5.3.3-3.el6.x86_64.rpm. Usually you can find out the version by either php -v on the command line, or phpinfo() in one of your scripts.