undefined function curl_init()

This is a discussion on undefined function curl_init() within the PHP Language forums, part of the PHP Programming Forums category; I am trying to use curl however am not having any success with a CLI script. Fatal error: Call to ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-20-2006
McHenry
 
Posts: n/a
Default undefined function curl_init()

I am trying to use curl however am not having any success with a CLI script.
Fatal error: Call to undefined function: curl_init() in
C:\PHP4\cli\processweb.php on line 65


Windows XP
PHP 4.4.2

php info shows:
CURL support enabled
CURL Information libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3


Any help would be greatly appreciated.

Thanks in advance...


Reply With Quote
  #2 (permalink)  
Old 05-22-2006
Juliusz
 
Posts: n/a
Default Re: undefined function curl_init()

> I am trying to use curl however am not having any success with a CLI script.
> Fatal error: Call to undefined function: curl_init() in
> C:\PHP4\cli\processweb.php on line 65
>
>
> Windows XP
> PHP 4.4.2
>
> php info shows:
> CURL support enabled
> CURL Information libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3


You have curl support enabled for CLI too?
This error is showing if you have not extension curl.so
directive in php.init.

--
Juliusz
http://www.jetfish.net
Reply With Quote
  #3 (permalink)  
Old 05-23-2006
McHenry
 
Posts: n/a
Default Re: undefined function curl_init()


"Juliusz" <juliuszb@cut.JetFish.net> wrote in message
news:20060522085844.6cdaec18.juliuszb@cut.JetFish. net...
>> I am trying to use curl however am not having any success with a CLI
>> script.
>> Fatal error: Call to undefined function: curl_init() in
>> C:\PHP4\cli\processweb.php on line 65
>>
>>
>> Windows XP
>> PHP 4.4.2
>>
>> php info shows:
>> CURL support enabled
>> CURL Information libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3

>
> You have curl support enabled for CLI too?
> This error is showing if you have not extension curl.so
> directive in php.init.
>
> --
> Juliusz
> http://www.jetfish.net


Juliusz, thanks for the help...

I didn't know it had to be enabled for cli seperately. I simply thought that
if phpinfo() showed it as enabled then it was enabled...

I am currently rebuilding the box so hopefully a fresh install may resolve
it...


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0