rbtux Wrote:well what you did can make debian going crazy ;-)
Better way is apt-pinning:
http://www.isp-control.net/forum/php5-cg...l#pid23244
you can add curl to...
Please try that and if it don't work give us as detailed info as possible about your system. Else it won't be possible for us to help you...
Hi - Wow that was WAY too german for me. I understand nothing, and I couldn't see anything that qualified as viable instructions. In any case, my method seemed to work (all websites on server are running fine) - So maybe I was just lucky
Ok to recap the problem:
* Very simple curl code fails on my server - all I get when I run my test script is a http 500 error.
* Other curl calls work fine. It is just this one where I get binary data returned which crashes.
* This code works fine on another server as mentioned in my first post
* I have no clue how to track down what is actually causing the internal server error as the only place I know where to look is the apache logs - and there is nothing to see there of interest.
* When I make the curl code output log information using:
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_STDERR, $curlerrors);
where $curlerrors point to my logfile - then I get the exact same result there as on the server where the function succeeds.
This is the curl log:
Quote:* About to connect() to postdanmark.dk port 80 (#0)
* Trying 193.3.68.126... * connected
* Connected to postdanmark.dk (193.3.68.126) port 80 (#0)
> POST /pfs/WebPackExport.csv HTTP/1.1
Host: postdanmark.dk
Accept: */*
Referer: http://postdanmark.dk/pfs/pfsExportFile....elcome.jsp
Cookie: PFS_NEW_USER=PRINT,WAYBILL,
Content-Length: 523
Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 200 OK
< Date: Fri, 18 Apr 2008 16:23:59 GMT
< Server: WebLogic WebLogic Temporary Patch for CR108446 07/01/2003 12:41:46
< Content-Type: application/binary-stream
< Transfer-Encoding: chunked
< Connection: Close
* Closing connection #0
Looks good to me. But why the heck does it crash??
I have no idea where to look for more info on this - If you need information on my system please let me know exactly what you need and I will happily provide it
Thanks!
-Zaber