Fixed #232 issue when installing on server running PHP in CGI mode.