Jump to content

[SOLVED] PHP Dom function access...


Recommended Posts

Trying to use the function:

<?php
if(function_exists('domxml_open_file')){
echo "domxml_open_file OK";
}else{
echo "domxml_open_file not OK";
}
?>

To see if I can use the DOM functions. I can't. I checked. The php_domxml.dll file is present in my extensions. I checked my php.ini file. The extentions line pointing to the dll is not commented out, it reads:]

extension_dir = "C:\xampp\php\extensions\"

extension=php_domxml.dll

 

I change that stuff, save the file and the script runs no differently...

 

It appears I have a PHP.ini file in:

C:\xampp\php,

C:\xampp\apache\bin,

C:\xampp\php\php4

and things are likely a mess here with this server ..

 

What shoudl I do?

 

I changed it in the dir/file my extensions directory is pointing to.

 

Thanks ,

 

Adam

 

edit .. restarted apache after changing the php4 file and it's working...

Link to comment
https://forums.phpfreaks.com/topic/85602-solved-php-dom-function-access/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.