Connecting Tech Pros Worldwide Help | Site Map

PHP5, domxml, on Windows Cfg./Error

  #1  
Old July 17th, 2005, 10:58 AM
webguynow
Guest
 
Posts: 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[color=blue]
>From Livedocs ..[/color]
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.

  #2  
Old July 17th, 2005, 10:58 AM
Tony Marston
Guest
 
Posts: n/a

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...[color=blue]
> 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[color=green]
>>From Livedocs ..[/color]
> 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.
>[/color]


  #3  
Old July 17th, 2005, 10:59 AM
webguynow
Guest
 
Posts: n/a

re: PHP5, domxml, on Windows Cfg./Error


Tony Marston wrote:[color=blue]
> The DOM XML extension has been moved into the PECL repository as of[/color]
PHP 5.[color=blue]
> You should use the DOM extension instead.[/color]
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.

  #4  
Old July 17th, 2005, 11:00 AM
Tony Marston
Guest
 
Posts: n/a

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...[color=blue]
> Tony Marston wrote:[color=green]
>> The DOM XML extension has been moved into the PECL repository as of[/color]
> PHP 5.[color=green]
>> You should use the DOM extension instead.[/color]
> 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.
>[/color]


  #5  
Old July 17th, 2005, 11:03 AM
webguynow
Guest
 
Posts: n/a

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

Closed Thread