PHP5, domxml, on Windows Cfg./Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • webguynow

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

  • Tony Marston

    #2
    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

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




    "webguynow" <invinfo@rcn.co m> wrote in message
    news:1102784325 .756972.26760@z 14g2000cwz.goog legroups.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]


    Comment

    • webguynow

      #3
      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\System3 2 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.

      Comment

      • Tony Marston

        #4
        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

        This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




        "webguynow" <invinfo@rcn.co m> wrote in message
        news:1102925439 .224606.88470@c 13g2000cwb.goog legroups.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\System3 2 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]


        Comment

        • webguynow

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

          Comment

          Working...