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

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

HTML form problem
Ive made a form to that i want to send to my email via PHP. but when it send only the name's etc sen

PHP time (deadline within one week)
I have a column ['projdue'], which stores the deadline for a project.
I have PHP code and <

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

Question about GD library
I am trying to make an image that shows a random quote from my database.


However I want t

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

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