[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:
Quote:
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:
Quote:
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.
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.
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.
Re: [RESOLVED] curl_init() stopped working