Solved

Installing php-xml on Centos

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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