How can I get php to parse xml files when I'm running PHP as a module in Apache?

I thought of doing this:
Action application/x-httpd-php "/php/php.exe --with-xml"

but i read this from install.txt

Note, we consider installing PHP like this suicidal.

well, I tried anyway but it wouldn't even compile normal php files. Can someone help, please?

    Hi,

    I use PHP DOMXML - read my guide at www.mdz.dk.

    note that a new API i soon to come for DOMXML in PHP 4.3.

    PHP 4.06 seems best at the moment.

    greets, Mads

      Thanks for your reply. I'm using apache 2.0.35 with php 4.2.0. I followed what you said in the other thread you wrote but it still doesn't work. an error returns from apache saying

      Unable to load dynamic library 'c:\php\extensions\php_domxml.dll' - The specified procedure could not be found.

      I checked the path many many times and it is definitely correct.

      I checked phpinfo() and it says that xml support is active, but things still doesn't seem to work.

        a month later

        Hi again,

        If you are using apache 2.0.x you must
        copy "\php\experimental\apache2filter.dll to \windows\system\" to get modules to work!

        greets Mads

          Write a Reply...