Solved

Installing php-xml on Centos

Posted on 2010-09-01
5
839 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

705 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

15 Experts available now in Live!

Get 1:1 Help Now