?
Solved

Installing php-xml on Centos

Posted on 2010-09-01
5
Medium Priority
?
848 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 1600 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 400 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Screencast - Getting to Know the Pipeline
Suggested Courses

864 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