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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby lse123 » 10. May 2011 15:03

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)?
Leonidas Euripide Savvides
lse123
 
Posts: 143
Joined: 15. November 2008 13:49
Location: Polis, Paphos
Operating System: vista 64 ultimate

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

Postby Sharley » 10. May 2011 20:46

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

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

Postby lse123 » 10. May 2011 22:01

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)
Leonidas Euripide Savvides
lse123
 
Posts: 143
Joined: 15. November 2008 13:49
Location: Polis, Paphos
Operating System: vista 64 ultimate

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

Postby lse123 » 10. May 2011 22:01

WHERE IS php.ini ???
Leonidas Euripide Savvides
lse123
 
Posts: 143
Joined: 15. November 2008 13:49
Location: Polis, Paphos
Operating System: vista 64 ultimate

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

Postby Sharley » 10. May 2011 22:08

lse123 wrote:WHERE IS php.ini ???

C:\xampp\php\php.ini
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

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

Postby lse123 » 13. May 2011 10:14

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
Leonidas Euripide Savvides
lse123
 
Posts: 143
Joined: 15. November 2008 13:49
Location: Polis, Paphos
Operating System: vista 64 ultimate


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 49 guests