I am trying to update my php version from 5.1.6 to 5.3.10 at Centos 5.4
I am trying to install the following rpm(i cannot yum or anything like that).
rpm -ivh php-ncurses-5.2.12-1.i386.rpm
error: Failed dependencies:
php-common = 5.2.12-1 is needed by php-ncurses-5.2.12-1.i386
but i have install the php-common-5.3.10-1.el5.i386.rpm.
i have tried also other versions of ncurses for el5 but the same error occured
I'm not CentOS user (Archlinux here), but the general rule of updating php
on Linux system is - you must have same version of php
and plugins/extensions to make it work.
Afaik you are trying to update php
to version 5.3.3, (and yet you've just install php-common
in 5.3.10), staying with php-ncurses
5.2.12. I don't think that's going to work on any system. As you can see php-ncurses-5.2.12
needs php-common
in specific version (5.2.12 as well).
I'm almost sure that you should find backports of php-ncurses
and php-common
in 5.3.X version (same version for all the packages!) and then install it all together. If it's for some reason not possible, and if I were you I would probably remove php-ncurses
, install php-5.3.X
with php-common-5.3.X
, then download and compile php-ncurses
from source [1] (there is another version naming scheme though).
I know nothing about machine you are working on, but if it's production machine you should probably do some tests on mirror machine/system first to make sure you will not break anything.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.