The error "Call to undefined function: xmldoc()" indicates that curl is not installed, but when I typed in curl -V at the command line I received this:
curl 7.10.6 (i386-redhat-linux-gny) libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
Does this mean that it's installed but just diabled?
How would I enable it in php.ini?
Do I have curl installed?
Moderator: General Moderators
Curl ? According to PHP Manual, xmldoc is the old function and should be replaced with domxml_open_mem()
You'll need GNOME XML library and libxslt libraryNote: This extension is no longer marked experimental. It will, however, never be released with PHP 5, and will only be distributed with PHP 4. If you need DOM XML support with PHP 5 you can use the DOM extension. This domxml extension is not compatible with the DOM extension.
a snippet from my php.ini file this is **note the uncommented cURL extension you should:
Code: Select all
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll