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

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

Calculating n! using vector
#include
#include
#include

using

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


However I want t

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

PHP Code / Script To check weather the given email exists in a domain
Hi,

I want to implement the following in my web page

in sign up we will ask to enter u

Wordpress IE issue
So I am trying to add the background shadow to my wordpress page. It works fine in Firefox but does

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

Sending an SMS Message with ASP.NET
Often times it may be a requirement for your web application to send an SMS message. Such examples w

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

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