-1

I use a vps and it has centOS 6.5 . I installed Nginx and php and mySql clearly. But when I tried to install phpMyAdmin by these steps , in Step Three when I enter this code:

sudo yum install phpmyadmin

It returns this error during runing:

Error: php56w-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

So what should I do for this problem?

Note that I did these steps to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6.

Erfan Atp
  • 101
  • 1
  • You could just download phpmyadmin and extract it to your web directory (/var/www/html). – Devon May 18 '15 at 15:20

1 Answers1

2

Apperently you also configured the Webtatic yum repository to get a newer version of PHP (php56w) than what is included by default in CentOS or provided by EPEL. That conflicts with the PHP version the EPEL phpMyAdmin package expects.

It could well be that phpMyAdmin still works well with a (much) newer PHP version and then the suggested --skip-broken is a solution. An alternative would be to remove the webtatic PHP packages and downgrade to the CentOS/EPEL PHP versions instead.

HBruijn
  • 77,029
  • 24
  • 135
  • 201
  • Just like HBruijn said, Alternatively, you can download latest version of phpMyAdmin from there: http://www.phpmyadmin.net/home_page/downloads.php – mvillar May 18 '15 at 15:24