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
我覺得你應該去那個超級用戶.com .. – 2013-04-09 20:25:14
請[不要在你的帖子中使用簽名或標語](http://stackoverflow.com/faq#signatures)。 – meagar 2013-04-09 20:27:20