Hi!
I've been struggling with a curl problem here for an entire day. In short the problem is:
* curl works fine with most requests.
* My site is running php5 under ispcp
PHP version: PHP Version 5.2.0-8+etch10
And libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
- But when I do a curl request on a specific URL that returns binary data curl seems to crash. That is, the script dies and I get a http 500 error - There is no information to be found in any of the apache error logs.
If I enable verbose output in curl I can see that the negotiation with the remote server was fine - it's just as soon as the local server receives the binary data it crashes.
So, I tried throwing my script on another server which has a newer version of PHP and Curl - that is:
PHP Version 5.2.5
libcurl/7.16.1 OpenSSL/0.9.8g zlib/1.2.3
And here it works just fine!
So I want to try and update my libcurl from v. 7.15.5 to 7.16.1 or newer. How do I do this?
And apt-get install php5-curl just gives me "php5-curl is already the newest version"
Thank you for your time and input
- zaber