[CentOS] PHP version dilemma

Todd Cary todd at aristesoftware.com
Fri Oct 5 19:43:25 UTC 2012


On 10/5/2012 11:58 AM, Rainer Duffner wrote:
> Am 05.10.2012 um 21:04 schrieb Todd Cary <todd at aristesoftware.com>:
>
>> What is the best way around this problem:
>>
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package php53.i386 0:5.3.3-13.el5_8 set to be updated
>> --> Processing Dependency: php53-common = 5.3.3-13.el5_8 for package:
>> php53
>> --> Processing Dependency: php53-cli = 5.3.3-13.el5_8 for package: php53
>> --> Running transaction check
>> ---> Package php53-cli.i386 0:5.3.3-13.el5_8 set to be updated
>> ---> Package php53-common.i386 0:5.3.3-13.el5_8 set to be updated
>> --> Processing Conflict: php53-common conflicts php-common
>> --> Finished Dependency Resolution
>> php53-common-5.3.3-13.el5_8.i386 from updates has depsolving problems
>>    --> php53-common conflicts with php-common
>> Error: php53-common conflicts with php-common
>>   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
>>
>>
>> I ran yum remove php.  Should I have done more?
>
>
>
> rpm -qa |grep php |grep -v php53
>
> and remove (that is rpm -e) everything that is php (and not php53).
>
> RHEL5/CentOS5 comes with both php (which is php5.1) and php53 (which is php5.3.something).
>
> You can't nor do you want to have both!
>

Thanks to your assistance, I now have php53 running: 
www.toddcary.com/testphp.php !

The remaining problem is that version is compiled without GD; 
something I need.  Is there an easy way to get php53 WITH gd?

Todd




More information about the CentOS mailing list