Handle archive.sh using php-cgi
|Reported by:||vipsoft||Owned by:||vipsoft|
In some environments, the command line php in the user's path may point to php-cgi.
We can use the --no-header (or -q) flag to suppress the http response header. This is also accepted by php-cli (for compatibility; interestingly, there is no flag to enable headers in php-cli).
In addition, we can add an explicit check for "php-cgi", in case, neither "php" or "php-cli" are found.