Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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