I would like to add this information relating to version 1.7. originally wrriten in Russian by Evgeniy Likov at:
The problem was apparent in use of Wiki and Hot Potatoes modules in 1.7 with FastCGI PHP.
If you are using FastCGI PHP as a PHP interpreter there are a number of sitiuations (for example on saving changes to a page in Wiki) when pressing the “save” button gives the page Internal Server Error (code 500) and a line is added to the log:
FastCGI: comm with server “/home/www/data/php-bin/php” aborted: error parsing headers: duplicate header ‘Status’, referer: http://m17/mod/wiki/view.php?id=4&page=edit/approach
The community of PHP users proposes this solution to the problem:
i.e. replace all entries of “header(‘Status: xxx” with “header(‘HTTP/1.1 xxx”.
In Moodle 1.7 the system functions normally after this procedure:
Take the following files:
replace the entries header(“Status: with the line header(“HTTP/1.1 (note there is a space
after the 1.1)
In the file
/mod/wiki/ewiki/fragments/auth.php – make line 37 into a comment and in
/lib/soap/nusoap.php – make line 3719 into a comment.
An easier way to do this is to download the files with changes already made at:
The file structure is already created just unzip and write over your existing files.