Install CGI Error Help

Install CGI Error Help

by Scott Bremner -
Number of replies: 3

Hello everyone... I am new to Moodle and I am having a few problems on getting it installed on our server

The specs for the server are below...

Windows 2003 Server
IIS 6.0
PHP 4.4.2
MySQL

The main problem I am having is that I get to the installer page and after doing the checks on our system (all pass but the GD Version) I get the message below after I enter all the install directory information..

 

CGI Error

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

 

Anyone know how to fix this CGI Error ???
And well you are at it if you know how to setup the PHP so the GD works also... I have tried everything in all the other blogs and I have gotten rid of the PHP error message that says it can not find the GD extenshion but it still is not letting it show up as a pass on the system test...

Any help would be great...

 

TIA

 

Average of ratings: -
In reply to Scott Bremner

Re: Install CGI Error Help

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Have a look in the event logs just after you get this error - with a bit of luck you may see some more helpfull information.

To get GD working (or any other extension)...

* copy the extension DLL from the PHP extensions directory to somewhere on your path - \winnt\system32 for example.
* find the gd extension in php.ini (make sure php.ini is correctly installated) and uncomment it.
* Restart the web server - you need a *big* restart. Probably quickest to reboot the machine.
In reply to Howard Miller

Re: Install CGI Error Help

by Scott Bremner -

Thanks for the feedback but there is nothing in the Event Viewer that tells me anything about the CGI Error...

I am trying the GD DLL now...

Any other Ideas on the CGI Error would be great...

I think The CGI Error has something to do with IIS ... it does not happen if apache is running but only with IIS...

 

 

 

In reply to Scott Bremner

Re: Install CGI Error Help

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
You don't say *how* PHP was installed on your machines, but I would recommend carefully reviewing the installation instructions for PHP as you may well have made a configuration error.

There is a lot of resources for this available and, of course, all are a bit different, but here's a reasonably good example...

http://www.peterguy.com/php/install_IIS6.html