For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2006 > undefined function curl_init()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author undefined function curl_init()
McHenry

2006-05-20, 6:57 pm

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...


Juliusz

2006-05-22, 3:59 am

> 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
McHenry

2006-05-23, 7:58 am


"Juliusz" <juliuszb@cut.JetFish.net> wrote in message
news:20060522085844.6cdaec18.juliuszb@cut.JetFish.net...
>
> 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...


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com