compile php5 with DOM
Posted: Thu Oct 29, 2009 11:14 am
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:\Inetpub\wwwroot\test.php on line 2
Does somebody know what I'm doing wrong?
Thanks in advance for your help.
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:\Inetpub\wwwroot\test.php on line 2
Does somebody know what I'm doing wrong?
Thanks in advance for your help.