Page 1 of 1

curl_init(), this requires install plugin in my PHP-XAMPP

PostPosted: 10. May 2011 15:03
by lse123
Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\mashupsWeb20\Chapter8a\parsefeed3.php on line 8

this requires install plugin in my PHP-XAMPP,...?
Any recommendation how success deal success with it?

This plugin is only for PHP language so I have no choice do errors(if exist and for Python or Perl for example)?

Re: curl_init(), this requires install plugin in my PHP-XAMP

PostPosted: 10. May 2011 20:46
by Sharley
Which version of XAMPP are you using?

Open php.ini and uncomment:
;extension=php_curl.dll
so it looks like this:
extension=php_curl.dll
Save and restart Apache and try again.

Re: curl_init(), this requires install plugin in my PHP-XAMP

PostPosted: 10. May 2011 22:01
by lse123
This got from installation’s control panel…README
###### ApacheFriends XAMPP (Basispaket) version 1.7.4 ######

+ Apache 2.2.17
+ MySQL 5.5.8 (Community Server)
+ PHP 5.3.5 (VC6 X86 32bit) + PEAR
+ XAMPP Control Version 2.5 from www.nat32.com
+ XAMPP Security
+ SQLite 2.8.15
+ OpenSSL 0.9.8o
+ phpMyAdmin 3.3.9
+ ADOdb 5.11
+ Mercury Mail Transport System v4.62
+ FileZilla FTP Server 0.9.37
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ Perl 5.10.1
+ Mod_perl 2.0.4
+ Tomcat 7.0.3


* System Requirements:
+ 64 MB RAM (RECOMMENDED)
+ 350 MB free fixed disk
+ Windows NT, 2000, 2003, XP (RECOMMENDED), VISTA
+ Only 32 Bit (NOT for 64 bit systems)

Re: curl_init(), this requires install plugin in my PHP-XAMP

PostPosted: 10. May 2011 22:01
by lse123
WHERE IS php.ini ???

Re: curl_init(), this requires install plugin in my PHP-XAMP

PostPosted: 10. May 2011 22:08
by Sharley
lse123 wrote:WHERE IS php.ini ???

C:\xampp\php\php.ini

Re: curl_init(), this requires install plugin in my PHP-XAMP

PostPosted: 13. May 2011 10:14
by lse123
I installed[curl_init()] but again errors, is it needed also something else to install?

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty string supplied as input in C:\xampp\htdocs\mashupsWeb20\Chapter8a\parsefeed3.php on line 14

Fatal error: Call to a member function getElementsByTagName() on a non-object in C:\xampp\htdocs\mashupsWeb20\Chapter8a\parsefeed3.php on line 18