Results 1 to 4 of 4

Thread: [RESOLVED] curl_init() stopped working

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Resolved [RESOLVED] curl_init() stopped working

    I've been writing a module for calculating USPS shipping rates, which uses curl to communicate with USPS servers. I've refreshed maybe a hundred times then suddenly I started getting:

    Fatal error: Call to undefined function curl_init()
    Out of nowhere. I didn't change any configurations or anything.

    I checked out phpinfo() and got:

    curl
    CURL support: enabled
    CURL Information: libcurl/7.15.1 OpenSSL/0.9.7j zlib/1.2.3
    I restarted apache and I still get the error.

    Running Gentoo Linux, Apache2, and PHP5. I believe I'm at the latest stable release for all three.


    Any ideas?

    Update: BAH! Somehow I switched to testing on my Windows box, which doesn't have CURL, without realizing it.
    Last edited by The Hobo; Jan 13th, 2007 at 10:31 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: [RESOLVED] curl_init() stopped working

    Quote Originally Posted by The Hobo
    I've been writing a module for calculating USPS shipping rates, which uses curl to communicate with USPS servers. I've refreshed maybe a hundred times then suddenly I started getting:



    Out of nowhere. I didn't change any configurations or anything.

    I checked out phpinfo() and got:



    I restarted apache and I still get the error.

    Running Gentoo Linux, Apache2, and PHP5. I believe I'm at the latest stable release for all three.


    Any ideas?

    Update: BAH! Somehow I switched to testing on my Windows box, which doesn't have CURL, without realizing it.
    it says resolved, but do a phpinfo() see if you even compiled curl in php.

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: [RESOLVED] curl_init() stopped working

    Yeah, it does say resolved, and it is.

    If you read my post, you will see that I already ran phpinfo(), and yes, curl is installed. If you read my post, you will also see that I updated it to say I was on a different server than I thought I was, one that did not have curl installed.

    Thanks.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: [RESOLVED] curl_init() stopped working

    oops sorry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width