cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: curl_init undefined when using from command line

From: Reyner Natahamidjaja <reyner_at_globalcon.net>
Date: Sun, 29 Sep 2002 16:54:46 -0500

Try recompiling php with --with-curl=/path/to/curl option. This should take
care of the problem.

-----Original Message-----
From: curl-and-php-admin_at_lists.sourceforge.net
[mailto:curl-and-php-admin_at_lists.sourceforge.net]On Behalf Of Dave
Withnall
Sent: Sunday, September 29, 2002 3:40 PM
To: curl-and-php_at_lists.sourceforge.net
Subject: Re: curl_init undefined when using from command line

it means php does not have curl installed.
Check the documentation for your OS to find out how to get it installed.

At 08:17 PM 29/09/2002 +0530, Sanket Gupta wrote:
>Hi ,
>i tried running a php script from command line and got the following error.
>This file worked perfectly when i tried to access it thru the browser.
> Call to undefined function: curl_init() in <b>abc.php</b> on line
> <b>12</b><br>
>Does something special need to be done to run this using the command line.
>Thanks/Regards
>Sanket Gupta

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-29