|
-
Jan 13th, 2007, 09:44 PM
#1
Thread Starter
Stuck in the 80s
[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.
-
Jan 15th, 2007, 09:10 AM
#2
Hyperactive Member
Re: [RESOLVED] curl_init() stopped working
 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.
-
Jan 15th, 2007, 12:42 PM
#3
Thread Starter
Stuck in the 80s
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.
-
Jan 15th, 2007, 01:31 PM
#4
Hyperactive Member
Re: [RESOLVED] curl_init() stopped working
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|