kashworth99 Posted September 23, 2008 Share Posted September 23, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/125469-phpinfo-question-from-newbie/ Share on other sites More sharing options...
waynew Posted September 23, 2008 Share Posted September 23, 2008 DOM/XML enabled Quote Link to comment https://forums.phpfreaks.com/topic/125469-phpinfo-question-from-newbie/#findComment-648662 Share on other sites More sharing options...
kashworth99 Posted September 23, 2008 Author Share Posted September 23, 2008 DOM/XML enabled I gather then that the Configuration Command does not override or does not affect the configuration? Can you explain the purpose of the configuration command section? thanks Quote Link to comment https://forums.phpfreaks.com/topic/125469-phpinfo-question-from-newbie/#findComment-648681 Share on other sites More sharing options...
JonnoTheDev Posted September 23, 2008 Share Posted September 23, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/125469-phpinfo-question-from-newbie/#findComment-648694 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.