Page 1 of 1

[SOLVED] Problems installing phpize and php-config for Xdebug

Posted: 2010/08/03 23:25:04
by miked_187
[code]# yum install php-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.mirrors.tds.net
* base: centos.mirrors.tds.net
* extras: mirror.chpc.utah.edu
* updates: centos.mirrors.tds.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-27.el5 set to be updated
--> Processing Dependency: php = 5.1.6-27.el5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-27.el5.i386 from base has depsolving problems
--> Missing Dependency: php = 5.1.6-27.el5 is needed by package php-devel-5.1.6-27.el5.i386 (base)
Error: Missing Dependency: php = 5.1.6-27.el5 is needed by package php-devel-5.1.6-27.el5.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[/code]

The dependencies issue makes sense since I'm running PHP 5.2.13, but I'm not sure how to work around this problem. Could use a pointer, or a point in the right direction. Appreciate any help

[SOLVED] Problems installing phpize and php-config for Xdebu

Posted: 2010/08/04 02:03:52
by pschaff
You need to get php-devel from the same source and of the same version as your non-standard PHP.

Re: Problems installing phpize and php-config for Xdebug

Posted: 2010/08/04 14:37:03
by miked_187
5.2.13 is non standard?? anyhow, here was the solution

went to Jason Litka's Utterramblings repos @ http://www.jasonlitka.com/yum-repository/ and followed the instructions

then yum update worked as advertised

Re: [SOLVED] Problems installing phpize and php-config for Xdebug

Posted: 2010/08/04 20:07:45
by pschaff
Perhaps non-CentOS would have been a better way to put it. Anyway, thanks for reporting back. Marking the topic [SOLVED] for posterity.

Re: [SOLVED] Problems installing phpize and php-config for Xdebug

Posted: 2010/08/04 20:37:22
by miked_187
got it, thanks for the thread title update