Fixes #4673 In case the PHP binary used is php-cgi instead of PHP cli, add -q flag to hide http headers from output.