Usually, when sending a http status header from PHP, one would send the HTTP header like this:
header("HTTP/1.0 404 Not Found");
However, the PHP manual says that for FCGI hosts, one would need to send a "Status" header that is then converted into a HTTP header by the FCGI module:
header("Status: 404 Not Found");
I am running apache 2.2 with PHP using mod_fcgi on a Windows 7 machine and sending the header using just header("HTTP/1.0 404 Not Found");
seems to work fine.
Is this something that has changed recently? Do I still need to send a Status
header for FCGI hosts? Could anyone also confirm this for other platforms (solaris, linux) and other webservers (nginx, lighttp)?