Solved

Installing php-xml on Centos

Posted on 2010-09-01
5
840 Views
Last Modified: 2012-05-10
I am very much a Linux newbie. I am running a server with Centos release 5.5 which has PHP Version 5.1.6 installed on it with '--disable-dom' set at compile time. I want to change this and from what I have read I can achieve this by installing php-xml.

Looking at various pages on the web I am sea how I go about doing this from the command line. Could someone help me through the steps?
0
Comment
Question by:cescentman
  • 2
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
simoesp earned 400 total points
ID: 33578055
open a bash

then run

yum install php-xml

then restar the apache and you're good to go i think :)

service httpd restart <- to make a restart
0
 
LVL 3

Assisted Solution

by:flubbard
flubbard earned 100 total points
ID: 33581107
Also, make sure that you run yum with root privileges (either sudo or su to root first)

 - flub
0
 
LVL 1

Author Comment

by:cescentman
ID: 33583908
simoesp: thanks I'll give it a try.

flubbard: also thanks. If I'm logged in as root then I don't need to use sudo or su. Is that correct?
0
 
LVL 3

Expert Comment

by:simoesp
ID: 33584362
corrent
0
 
LVL 1

Author Closing Comment

by:cescentman
ID: 33586117
Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now