PHP5, domxml, on Windows Cfg./Error

This is a discussion on PHP5, domxml, on Windows Cfg./Error within the PHP Language forums, part of the PHP Programming Forums category; need the straight dope on domxml for Windows ! Is it bundled or are DLL's necessary ? Also, what changes are ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2004
webguynow
 
Posts: n/a
Default PHP5, domxml, on Windows Cfg./Error

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.

Reply With Quote
  #2 (permalink)  
Old 12-12-2004
Tony Marston
 
Posts: n/a
Default Re: PHP5, domxml, on Windows Cfg./Error

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" <invinfo@rcn.com> wrote in message
news:1102784325.756972.26760@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.
>



Reply With Quote
  #3 (permalink)  
Old 12-13-2004
webguynow
 
Posts: n/a
Default Re: PHP5, domxml, on Windows Cfg./Error

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.

Reply With Quote
  #4 (permalink)  
Old 12-13-2004
Tony Marston
 
Posts: n/a
Default Re: PHP5, domxml, on Windows Cfg./Error

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" <invinfo@rcn.com> wrote in message
news:1102925439.224606.88470@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.
>



Reply With Quote
  #5 (permalink)  
Old 12-16-2004
webguynow
 
Posts: n/a
Default Re: PHP5, domxml, on Windows Cfg./Error

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 ....

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0