By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,197 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,197 IT Pros & Developers. It's quick & easy.

PHP5, domxml, on Windows Cfg./Error

P: n/a
need the straight dope on domxml for Windows !
Is it bundled or are DLL's necessary ?
Also, what changes are needed in php.ini ?

My setup: WXP, PHP 5.0.2 as an Apache Module, libxml v2.6.11
or so it says.

I see there's been quite a bit of posting on mailing.www.php-dev Re:
phpinfo() mis-reporting domxml enabled.
I had a post re: this also on: php.windows
From Livedocs ..

requires sablot.dll, expat.dll, iconv.dll (bundled).

Curious about all these:
iconv
libxml and 2, also libxmlsec
libxslt and libexslt

Error:
Fatal error: Call to undefined function domxml_new_doc()
TIA for your help and suggestions.

Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
The DOM XML extension has been moved into the PECL repository as of PHP 5.
You should use the DOM extension instead.

--
Tony Marston

http://www.tonymarston.net

"webguynow" <in*****@rcn.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
need the straight dope on domxml for Windows !
Is it bundled or are DLL's necessary ?
Also, what changes are needed in php.ini ?

My setup: WXP, PHP 5.0.2 as an Apache Module, libxml v2.6.11
or so it says.

I see there's been quite a bit of posting on mailing.www.php-dev Re:
phpinfo() mis-reporting domxml enabled.
I had a post re: this also on: php.windows
From Livedocs ..

requires sablot.dll, expat.dll, iconv.dll (bundled).

Curious about all these:
iconv
libxml and 2, also libxmlsec
libxslt and libexslt

Error:
Fatal error: Call to undefined function domxml_new_doc()
TIA for your help and suggestions.

Jul 17 '05 #2

P: n/a
Tony Marston wrote:
The DOM XML extension has been moved into the PECL repository as of PHP 5. You should use the DOM extension instead.

OK, fair enough, it was easy to use the MySQL extension.
and, of course, moving the DLL to Windows\System32 was my 1st step.
Since the php.ini does not have a line specifying this as an
extension, Should 1 be created ? I assume so, since it apparently
doesn't work now.

Jul 17 '05 #3

P: n/a
If you can obtain a copy of the DOM XML extension dll for PHP 5 then I see
no reason why you cannot enable it in your php.ini file.

--
Tony Marston

http://www.tonymarston.net

"webguynow" <in*****@rcn.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
Tony Marston wrote:
The DOM XML extension has been moved into the PECL repository as of

PHP 5.
You should use the DOM extension instead.

OK, fair enough, it was easy to use the MySQL extension.
and, of course, moving the DLL to Windows\System32 was my 1st step.
Since the php.ini does not have a line specifying this as an
extension, Should 1 be created ? I assume so, since it apparently
doesn't work now.

Jul 17 '05 #4

P: n/a
Yes, that did it.
So in general, if an extension is needed that is not listed in the .ini
extension section, Add the Line.
..... just that simple, but not documented anywhere ....

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.