Click to See Complete Forum and Search --> : Getting PHP to parse xml


Anon
04-15-2002, 10:17 AM
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?

Anon
04-15-2002, 01:38 PM
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

Anon
04-16-2002, 09:06 AM
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.

Anon
05-12-2002, 01:48 AM
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