Install php-5.2.5RedHatLinux upgrade libxml2 library-Linux Enterprise Application-Linux server application information, the following is read details. Installing php-5.2.5 on RedHat Linux requires upgrading the libxml2 library that comes with Linux, but libxml2 has a lot of dependencies (dependencies), and below is my upgrade method.
Libxml2 official is ftp://xmlsoft.org/libxml2/
First remove the libxml2-python-2.5.4-1, my libxml2-python-2.5.4-1
Based on the actual version of your system
[Root @ WebServer root] # rpm-e libxml2-python-2.5.4-1
Error: Failed dependencies:
Libxml2-python is needed by (installed) redhat-config-packages-1.1.8-1
If a dependency is found, it is queried.
[Root @ WebServer root] # rpm-qa | grep redhat-config-packages
Redhat-config-packages-1.1.8-1
Remove libxml2-2.5.4-1
[Root @ WebServer root] # rpm-e libxml2-2.5.4-1
Error: Failed dependencies:
Libxml2.so. 2 is needed by (installed) libxslt-1.0.27-3
Libxml2.so. 2 is needed by (installed) alchemist-1.0.26-1
Libxml2.so. 2 is needed by (installed) foomatic-2.0.2-15
Libxml2.so. 2 is needed by (installed) bonobo-activation-2.2.0-4
Libxml2.so. 2 is needed by (installed) GConf2-2.2.0-1
Libxml2.so. 2 is needed by (installed) gnome-vfs2-2.2.2-4
Libxml2.so. 2 is needed by (installed) libglade2-2.0.1-3
Libxml2.so. 2 is needed by (installed) libgnome-2.2.0.1-8
Libxml2.so. 2 is needed by (installed) libgnomecanvas-2.2.0.1-1
Libxml2.so. 2 is needed by (installed) gtkhtml2-2.2.0-5
Libxml2.so. 2 is needed by (installed) gnome-python2-gtkhtml2-1.99.14-5
Libxml2.so. 2 is needed by (installed) libbonoboui-2.2.0-1
Libxml2.so. 2 is needed by (installed) libgnomeui-2.2.0.1-5
Libxml2.so. 2 is needed by (installed) pygtk2-libglade-1.99.14-4
Libxml2.so. 2 is needed by (installed) gnome-python2-bonobo-1.99.14-5
Libxml2.so. 2 is needed by (installed) gnome-python2-1.99.14-5
Libxml2.so. 2 is needed by (installed) usermode-gtk-1.67-2
Libxml2.so. 2 is needed by (installed) memprof-0.5.1-3
Libxml2> = 2.5.2 is needed by (installed) libxslt-1.0.27-3
Libxml2> = 2.3.8 is needed by (installed) alchemist-1.0.26-1
Libxml2> = 2.4.12-0.7 is needed by (installed) libglade2-2.0.1-3
Libxml2> = 2.5 is needed by (installed) libgnome-2.2.0.1-8
Libxml2> = 2.4.20 is needed by (installed) gtkhtml2-2.2.0-5
Libxml2> = 2.5 is needed by (installed) libbonoboui-2.2.0-1
Libxml2> = 2.5 is needed by (installed) libgnomeui-2.2.0.1-5
An error occurred while removing the dependency.
Overwrite the installation with the Upgrade Method
[Root @ WebServer home] # rpm-Uvh libxml2-2.6.11-1.i386.rpm
Warning: libxml2-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
Preparing... ############# [100%]
1: libxml2 ############ [100%]
[Root @ WebServer home] # rpm-qa | grep libxml2
Libxml2-2.6.11-1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service