Handle archive.sh using php-cgi #1439
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
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.
The text was updated successfully, but these errors were encountered: