I am running windows 7 x64 with apache 2.2.19 and PHP 5.3.6.

When Apache is running as the system user, curl won't work on some https requests, and won't write cookies under any circumstance. When I attempt to do an https request it gives me the very unhelpful error Unknown SSL protocol error in connection....

I haven't figured out what https sites it works on and what ones it doesn't. On a non-secure (http) request, the request is performed but I still can't write to my cookie file. I can create the file using $ckfile = tempnam($tmpdir, 'SCK');, but the cookies won't be saved.

This issue has been bothering me for hours the last couple days until I discovered this. I'm not sure what other details to provide so please ask. Does anyone have any idea why this would be?

link|improve this question

60% accept rate
1  
Why run Apache as SYSTEM? The Apache docs recommend that you create a separate service account for it. – fission Jul 24 '11 at 19:40
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.