Jump to content

Recommended Posts

I am trying to determine if DOM is enabled in my installation.

 

I am running Centos 5

Apache 2.2.3

MySQL 5.0.3

and PHP 5.1.6 Zend Eng 2.1.0

 

My phpinfo shows --with and --enable to the following which it reports as --without, etc:

 

--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'

 

However, when I look to the Configuration sections below I see:

 

dom

DOM/XML enabled

DOM/XML API Version 20031129

libxml Version 2.6.26

HTML Support enabled

XPath Support enabled

XPointer Support enabled

Schema Support enabled

RelaxNG Support enabled

 

Does this mean that dom is enabled or does the Configure Command override?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/125469-phpinfo-question-from-newbie/
Share on other sites

When you install an app on a linux box from source you usually run the ./configure command to tell it what modules to compile with, paths to files, etc. Then the application is compiled using 'make' then 'make install'. Your phpinfo shows the original configure options that were used to build and compile php.

 

However, additional modules can be installed later without the need to recomile php. You can do this with yum i.e. If I wanted to add the mbstring extensions I could use:

yum install php-mbstring

 

After restarting the webserver the module will show in your phpinfo but the configure line will not change.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.