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.

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

Insert Failing.
Hey,
I am making a Sign up page for a website, but the insert query into the Database does not se

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one:

Parse error: syntax error

redirect standard error and assert (how to?)
How do you redirect standard error and assert?

---

(Why? I am creating an web app and

Consuming MII WebService in Java WebDynpro
Hello,

We are facing a strange situation...

We define a transaction in MII to

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

Little problem with form insertion in MySQL, Please help!!!
Hi!,

I'm a little bit new with php and I have a little issue here. I created a webform to ins

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

help with image upload code
Hello,

right now this code I have resizes images and then places them into the uploads folder

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