오랜만에 포스팅합니다.
이번에는 centos에 phpMyAdmin을 설치하는 방법을 알려드리 겠습니다.
먼저 터미널에서 명령어를 입력해줍니다.

입력하실경우 서버에서 찾고 설치를 시작을 할겁니다.
하지만 설치중 아래처럼 오류가 발생한다면?(PHP5.5 사용기준으로)
Error: Package: php-tidy-5.3.3-46.el6_6.x86_64 (updates) Requires: php-common(x86-64) = 5.3.3-46.el6_6 Installed: php-common-5.5.30-1.el6.remi.x86_64 (@remi-php55) php-common(x86-64) = 5.5.30-1.el6.remi Available: php-common-5.3.3-40.el6_6.x86_64 (base) php-common(x86-64) = 5.3.3-40.el6_6 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_6 Available: php-common-5.5.29-1.el6.remi.x86_64 (remi-php55) php-common(x86-64) = 5.5.29-1.el6.remi Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (epel) Requires: php(api) = 20090626 Installed: php-common-5.5.30-1.el6.remi.x86_64 (@remi-php55) php(api) = 20121113-64 Available: php-common-5.3.3-40.el6_6.x86_64 (base) php(api) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php(api) = 20090626 Available: php-common-5.5.29-1.el6.remi.x86_64 (remi-php55) php(api) = 20121113-64 Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Installed: php-common-5.5.30-1.el6.remi.x86_64 (@remi-php55) php(zend-abi) = 20121212-64 Available: php-common-5.3.3-40.el6_6.x86_64 (base) php(zend-abi) = 20090626 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php(zend-abi) = 20090626 Available: php-common-5.5.29-1.el6.remi.x86_64 (remi-php55) php(zend-abi) = 20121212-64 Error: Package: php-bcmath-5.3.3-46.el6_6.x86_64 (updates) Requires: php-common(x86-64) = 5.3.3-46.el6_6 Installed: php-common-5.5.30-1.el6.remi.x86_64 (@remi-php55) php-common(x86-64) = 5.5.30-1.el6.remi Available: php-common-5.3.3-40.el6_6.x86_64 (base) php-common(x86-64) = 5.3.3-40.el6_6 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_6 Available: php-common-5.5.29-1.el6.remi.x86_64 (remi-php55) php-common(x86-64) = 5.5.29-1.el6.remi You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest |
전 비공식php5.5버전을 사용하여 버전이 안맞아서 오류가 발생했는데요
저처럼 오류가 발생하시는분들은
yum --enablerepo=remi-php55 install php-tidy php-bcmath php-mcrypt php-mcrypt |
입력하셔서 5.5버전에 필요한 패키지를 설치해주면해결됩니다.
설치가 끝나시면
/etc/init.d/httpd restart |
입력하여 Apache(아파치)를 재시작해주시면 설치는 끝나요~