Opened 4 years ago

Closed 4 years ago

#1439 closed New feature (fixed)

Handle using php-cgi

Reported by: vipsoft Owned by: vipsoft
Priority: normal Milestone: Piwik 0.6.3
Component: Core Keywords:
Cc: Sensitive: no


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.

Change History (1)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2330]) fixes #1439

Note: See TracTickets for help on using tickets.