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

What are the two different files you download to update kernel?
What are the two different files you download to update kernel?

Values disappear from my array :( HELP!
hey all, I have a lil mysql/php/apache script that queries a database
and pulls put 5 integers.

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

Email Form Syntax Issue
I need the TO: in email to display To: CEO instead of To: abc@mail.com

How to alter the scri

Help: calling function
Hi,
Is it possible to call a php function on page close?
If yes, could you explain how and whe

Simple Variable Question
Hi everyone.... again,

I am really getting into php still. Learning more every day. I love it

Function module "DPS_CHECK_TABLE_EXISTS" not found (after OSS 1422843 impl)
Dear All,

I implemented Note OSS 1422843.

When i execute the new report RSPO20

.htpasswd Registration Form
Hi,
I wanted to make an htpasswd registration form.
I found this code on the internet but have

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

Changing files over
Just thought I'd start with the new forums looking really nice .

Ok basically I've made this

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