Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Handle archive.sh using php-cgi #1439

Closed
robocoder opened this Issue · 1 comment

1 participant

Anthon Pang
Anthon Pang
Collaborator

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.

Anthon Pang
Collaborator

(In [2330]) fixes #1439

Anthon Pang robocoder added this to the Piwik 0.6.3 milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.