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

Inter Company -- Resources Related Billing (Services Industry)
Hello,

My company has a scenario where:
Company A bills Company C for INTER (cross

Please help understand this code
I noticed the index page on my site was modified this morning and found this code inserted at the bo

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

There was a problem with the request. (Code: 0)
Any Idea what could cause this? I get it randomly at best. But with both IE and FF. It derives from

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

SAP BCS. BPS
Hi all,

I am seeking reading note on the following in BW

BCS, BPS
ADVANCE

HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

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