php-gd 설치시 오류

php-gd 설치시 오류

remi repo로 php를 설치했는데 이제 php gd를 설치하고 싶습니다. CentOS 7에 php-gd를 설치하려고 했지만 다음 오류가 발생했습니다.

sudo yum install php-gd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repos.redrockhost.com
 * epel: mirrors.syringanetworks.net
 * extras: centos.sonn.com
 * updates: mirror.compevo.com
Resolving Dependencies
--> Running transaction check
---> Package php-gd.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-23.el7_0.3 for package: php-gd-5.4.16-23.el7_0.3.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-23.el7_0.3.x86_64
--> Running transaction check
---> Package php-gd.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-23.el7_0.3 for package: php-gd-5.4.16-23.el7_0.3.x86_64
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Finished Dependency Resolution
Error: Package: php-gd-5.4.16-23.el7_0.3.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-23.el7_0.3
           Installed: php-common-5.5.17-2.el7.remi.x86_64 (@remi-php55)
               php-common(x86-64) = 5.5.17-2.el7.remi
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (base)
               php-common(x86-64) = 5.4.16-23.el7_0.3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

누군가 이것 좀 도와주실 수 있나요?

답변1

문제는 아직 remi-php55 저장소를 활성화하지 않았다면 활성화해야 할 수도 있다는 것입니다. 다음과 같은 것을 실행할 것이라고 확신합니다.yum install php-gd --enablerepo=remi,remi-php55

관련 정보