2013-04-09 2 views
1

CentOS 6.4 가상 상자 이미지에 xdebug를 설치하려고하는데 phpize를 찾을 수 없다는 문제가 발생했습니다. php-devel을 설치하려고했지만 yum에 의존성 문제가 있다고 들었습니다.CentOS 6.4에서 phpize를 설치할 수 없습니다.

내가 이것을 극복하기 위해 할 수있는 것에 대한 의견이 있으십니까?

소스를 다운로드하고 설치해야합니까?

pecl install xdebug 
downloading xdebug-2.2.2.tgz ... 
Starting to download xdebug-2.2.2.tgz (250,184 bytes) 
.....................................................done: 250,184 bytes 
66 source files, building 
running: phpize 
sh: phpize: command not found 
ERROR: `phpize' failed 
[[email protected] ~]# yum install php-devel 
Loaded plugins: etckeeper, fastestmirror, refresh-packagekit, security 
Loading mirror speeds from cached hostfile 
* base: centos-mirror.jchost.net 
* epel: linux.mirrors.es.net 
* extras: ftpmirror.your.org 
* updates: mirror.flhsi.com 
Setting up Install Process 
Resolving Dependencies 
--> Running transaction check 
---> Package php-devel.x86_64 0:5.3.3-22.el6 will be installed 
--> Processing Dependency: php(x86-64) = 5.3.3-22.el6 for package: php-devel-5.3.3-22.el6.x86_64 
Package php-5.3.3-22.el6.x86_64 is obsoleted by mod-php-5.4-apache2-zend-server-5.4.11-6.x86_64 which is already installed 
--> Finished Dependency Resolution 
Error: Package: php-devel-5.3.3-22.el6.x86_64 (base) 
      Requires: php(x86-64) = 5.3.3-22.el6 
      Available: php-5.3.3-22.el6.x86_64 (base) 
       php(x86-64) = 5.3.3-22.el6 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 
+0

나는 그걸로 superuser.com에 가야한다고 생각합니다. –

+0

[게시물에 서명 또는 태그 라인을 사용하지 마십시오.] (http://stackoverflow.com/faq#signatures). – meagar

답변

1

가 설치 한 것 같다 모드-PHP-5.4 - 아파치 - 젠드 - 서버 5.4.11-6.x86_64 PHP-5.3.3-22.el6.x86_64를 대체합니다. 하지만 php-5.3.3-22.el6.x86_64는 php-devel-5.3.3-22.el6.x86_64에 필요하며 php-5.3.3-22.el6.x68_64가 없으므로 (당신은 자동으로 다운 그레이드되지 않는 최신 버전) 충돌을 일으 킵니다.

php-5.3.3-22.el6.x86_64로 "다운 그레이드"하거나 mod-php-5.4-apache2-zend-server-5.4.11-6에서 작동하는 php-devel 패키지와 동일한 기능을 찾을 수 있습니다 .x86_64 또는 자신의 phpize를 컴파일하십시오.

관련 문제