undefined function curl_init()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • McHenry

    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\pro cessweb.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

    #2
    Re: undefined function curl_init()

    > I am trying to use curl however am not having any success with a CLI script.[color=blue]
    > Fatal error: Call to undefined function: curl_init() in
    > C:\PHP4\cli\pro cessweb.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[/color]

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

    --
    Juliusz

    Comment

    • McHenry

      #3
      Re: undefined function curl_init()


      "Juliusz" <juliuszb@cut.J etFish.net> wrote in message
      news:2006052208 5844.6cdaec18.j uliuszb@cut.Jet Fish.net...[color=blue][color=green]
      >> 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\pro cessweb.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[/color]
      >
      > 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[/color]

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


      Comment

      Working...