Help to upgrade to PHP 5 with rpm install

edited January 2009 in Science & Tech
Hello,

I need some help to upgrade PHP 4 to PHP 5.1

I installed PHP-4.3.9 and mysql-4.1.20-2.RHEL4.1.0.1 in my Redhat Server (Redhat 4 Enterprise).

My PHP packages installed in my Redhat server:
rpm -qa | grep php
php-gd-4.3.9-3.22.9
php-snmp-4.3.9-3.22.9
php-4.3.9-3.22.9
php-devel-4.3.9-3.22.9
php-mysql-4.3.9-3.22.9
php-ldap-4.3.9-3.22.9
php-pear-4.3.9-3.22.9
php-mbstring-4.3.9-3.22.9


I installed Nagios, Centreon, Nagvis et Cacti using these packages.

When I try to update to PHP-5.1.4, I get:
rpm -U php-5.1.4-1.esp1.x86_64.rpm php-snmp-5.1.4-1.esp1.x86_64.rpm php-ldap-5.1.4-1.esp1.x86_64.rpm php-mysql-5.1.4-1.esp1.x86_64.rpm php-mbstring-5.1.4-1.esp1.x86_64.rpm php-devel-5.1.4-1.esp1.x86_64.rpm php-gd-5.1.4-1.esp1.x86_64.rpm php-pdo-5.1.4-1.esp1.x86_64.rpm

error: Failed dependencies:
php = 4.3.9-3.22.9 is needed by (installed) php-pear-4.3.9-3.22.9.x86_64


I don't find the package php-pear-5.1.4-1.x86_64.rpm and when I try to upgrade the php-pear package, I get: rpm -U php-pear-1.4.6-2.noarch.rpm

warning: php-pear-1.4.6-2.noarch.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
php >= 5.1.0-1 is needed by php-pear-1.4.6-2.noarch


How can I resolv it ? :confused:

Thank you for your help

Flipmode




Sign In or Register to comment.