compile php5 with DOM


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I can't manage to compile php 5.3.0 from source on Windows to include DOM,
in spite of the documentation saying that DOM is built into PHP5.
Did you know?Explore Trending and Topic pages for more stories like this.

I'm compiling php 5.3.0 using the following minimalistic options:

configure.js --without-sqlite --enable-cli --enable-debug --disable-ipv6 --enable-pdo

However, my compiled PHP can't pass even the following test for DOM:

<?php
$doc = new DOMDocument();
?>

where I'm getting the following error message:

PHP Fatal error: Class 'DOMDocument' not found in C:Inetpubwwwroottest.php on line 2

Does somebody know what I'm doing wrong?

Thanks in advance for your help
No comments posted yet

Your Answer:

Login to answer
212 Like 17 Dislike
Previous forums Next forums
Other forums

SCRIPT ERROR
Here is the CONTACT FORM I made for our website:

<form id="form1" name="

php/mysql auto logout after 2 hour and reset password
Hi all,

This I hope will make sense. I've the following code which when a user logins in, cr

Syntax error
hi im having a little trobble with this script
-------------------------------------------------

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

PHP url branch??
Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

How to create a static html menu from a database
Hi,

I have built a small cms which allows me to create simple html pages and then upload them

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

need to add "sizes" to shopping cart
Hey guys, I am trying to figure out a way to add a "size" selector on to this bit of code.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash