Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running an IIS6 server on Windows Server 2003 R2 SP2.

I've installed PHP on the server, and MOST of it is working fine. However, if I try to enable the cURL extension for PHP, I get the following error when I try to run ANY php script:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

As soon as I disable the cURL extension, every script works just fine.

Any ideas on what's going on?

share|improve this question

I had the same problem, this fixed it for me

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.