Upgrade to PHP 5 with rpm install
flipmode62
Messages postés
52
Statut
Membre
-
flipmode62 Messages postés 52 Statut Membre -
flipmode62 Messages postés 52 Statut Membre -
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 ?
Thank you for your help
Flipmode
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 ?
Thank you for your help
Flipmode
A voir également:
- Upgrade to PHP 5 with rpm install
- Winget upgrade - Guide
- Upgrade windows 7 to windows 10 - Accueil - Mise à jour
- Qwerty to azerty - Guide
- Expert php pinterest - Télécharger - Langages
- Install microsoft store - Guide
2 réponses
try this :
rpm -Uvh php-5.1.4-1.esp1.x86_64.rpm php-5.1.4-1.esp1.x86_64.rpm
Let me know of it works for you .
cheers
Unixmen_net
rpm -Uvh php-5.1.4-1.esp1.x86_64.rpm php-5.1.4-1.esp1.x86_64.rpm
Let me know of it works for you .
cheers
Unixmen_net
Are you sure about your commande rpm -Uvh php-5.1.4-1.esp1.x86_64.rpm php-5.1.4-1.esp1.x86_64.rpm ?
When I try that, I get :
rpm -Uvh php-5.1.4-1.esp1.x86_64.rpm php-5.1.4-1.esp1.x86_64.rpm
warning: package php = 5.1.4-1.esp1 was already added, replacing with php <= 5.1.4-1.esp1
error: Failed dependencies:
php = 4.3.9-3.22.9 is needed by (installed) php-pear-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-gd-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-mysql-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-devel-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-snmp-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-ldap-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-mbstring-4.3.9-3.22.9.x86_64
Thanks for your help
Flipmode
When I try that, I get :
rpm -Uvh php-5.1.4-1.esp1.x86_64.rpm php-5.1.4-1.esp1.x86_64.rpm
warning: package php = 5.1.4-1.esp1 was already added, replacing with php <= 5.1.4-1.esp1
error: Failed dependencies:
php = 4.3.9-3.22.9 is needed by (installed) php-pear-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-gd-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-mysql-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-devel-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-snmp-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-ldap-4.3.9-3.22.9.x86_64
php = 4.3.9-3.22.9 is needed by (installed) php-mbstring-4.3.9-3.22.9.x86_64
Thanks for your help
Flipmode