← Back to team overview

mahara-contributors team mailing list archive

[Bug 1447865] Re: Include PHP version in mahara.org stats

 

While I'm at it, I'm also going to collect information about the
database version ("select version()"), the OS (php_uname()), the SAPI
(php_sapi_name()), and the versions/absence of all the PHP modules
listed in Mahara's README.

I was going to also include the webserver version, but I've just
realized that this data is collected by the cron, which is usually run
as a CLI script, so $_SERVER won't be populated.

Hm, although I guess some people do execute the cron via the web URL as
well. I guess I'll look for $_SERVER['SERVER_SOFTWARE'], and if it's
present I'll include it.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1447865

Title:
  Include PHP version in mahara.org stats

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  We were discussing at the last developer meeting, the possibility of
  raising our supported PHP version to 5.4. But, we don't really have
  any idea how many sites out there are currently on PHP 5.3.

  So we decided that we should add the PHP version to the usage data
  people voluntarily send back to mahara.org through the
  cron_send_registration_data() method.

  In order to make this decision in a timely manner to inform 15.10,
  we'll need to include this change in the next minor version update.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1447865/+subscriptions


References