Page 1 of 1
Do I have curl installed?
Posted: Tue Jul 26, 2005 6:52 pm
by voltrader
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?
Posted: Tue Jul 26, 2005 8:40 pm
by Burrito
uncomment the line for the cURL library.
Posted: Tue Jul 26, 2005 9:50 pm
by voltrader
Thanks burrito. I don't have it commented or uncommented in my php.ini
Would you happen to have the php.ini command for it?
Posted: Wed Jul 27, 2005 12:44 am
by anjanesh
Curl ? According to
PHP Manual, xmldoc is the old function and should be replaced with
domxml_open_mem()
Note: 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.
You'll need
GNOME XML library and
libxslt library
Posted: Wed Jul 27, 2005 10:47 am
by Burrito
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
Posted: Wed Jul 27, 2005 10:52 am
by anjanesh
Is the error "Call to undefined function: xmldoc()" a result of Curl not being installed ?
Posted: Wed Jul 27, 2005 10:53 am
by Burrito
anjanesh wrote:Is the error "Call to undefined function: xmldoc()" a result of Curl not being installed ?
probably not

Posted: Wed Jul 27, 2005 11:15 am
by voltrader
I recompiled PHP with CURL, CURL SSL and Open SSL via WHM and checked phpinfo. Curl is not enabled.
I then tried changing xmldoc() to domxml_open_doc() but still receive the call to undefined function error.
What else should I check?