• Home
  • Technology
    • Ebullientech
    • Entrepreneurship
    • Video Technology
    • Cloud Computing
    • Business Analysis
  • Thoughts
    • Food
    • General
    • Stories
    • Places
    • Workplace
    • Social Issues
    • Reviews
  • Quotes
  • Ebullientech News and Events
  • About

Kamalika's Notebook

thinking nothing...............!!

You are here: Home / Kamalika / Technology / CentOS / Install the PHP DOM Extension on CentOS

Install the PHP DOM Extension on CentOS

February 23, 2015 By Kamalika Leave a Comment

I was trying to import the sample data provided with a ThemeForest theme to my client’s WordPress website and failing. Initially I thought it’s a file permission issue but even after changing file permission to 0755 and eventually to 0777 didn’t improve the situation. Suddenly I realized file permission issue is sorted and the current issue is server not having PHP DOM installed!

What is DOM?

As per Wikipedia… “The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents.”

And as per w3.org… “The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The document can be further processed and the results of that processing can be incorporated back into the presented page.”

What is PHP DOM extension?

According to PHP.Net… “The DOM extension allows you to operate on XML documents through the DOM API with PHP 5.”

Installing the PHP DOM Extension on CentOS

You’ll either superuser or root privileges…

[bash] sudo yum install php-xml [/bash]

or…

[bash] yum install php-xml [/bash]

Make sure to restart Apache for installation to take effect…

[bash] service httpd restart [/bash]

Check whether DOM is installed correctly

Create a PHP file with following code…

[php] <?php phpinfo(); ?> [/php]

Check the output of the file in a web browser.

PHP DOM Extension

Filed Under: CentOS, LAMP, PHP, Technology Tagged With: Document Object Model, DOM, How to add PHP DOMDocument extension, How to Check PHP DOM is Installed, PHP DOM Extension, PHP-XML, What is PHP DOM extension

« PHP and MVC Design Pattern
HTTP Status Codes »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

Let’s connect…

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Hello There…

I'm Kamalika, a techpreneur & startup mentor, blogger, hobbyist photographer, Netflix & Kindle indulgent, food connoisseur, Starbucks aficionado and former Disney employee ...next

Looking for something?

Tags

All in One SEO Pack AWS Banaras Blogger Blogging Blogs Creating Backup Schedule in RHEL 5 Dasaswamedh Ghat Ebullientech Ebullientech Interactive LLP Facebook Facebook Developers GeoTech GeoTech Informatics HipHop for PHP iPhone iPhone Apps Kamalika Guha Roy Kashi Ganga LAMP MindTwister MySQL Nabaneeta Guha Roy Online Marketing PayPal PayPal's suspension of Indian bank transactions Pentago PHP PHP & MySQL Saraswati Puja Search Engine Optimization SEO The Ganges TypePad UCO HUT UTV Indiagames Varanasi Web 2.0 Web 2.0 Design Web Design Web Marketing Website Design WordPress WordPress.COM WordPress.ORG

Timeline

  • 2020 (7)
  • 2019 (4)
  • 2018 (1)
  • 2015 (6)
  • 2014 (13)
  • 2013 (9)
  • 2010 (7)
  • 2009 (2)

Topics

Copyright © 2021 · Kamalika Guha Roy, Powered by Ebullientech Interactive LLP