Include PHP version in mahara.org stats
Bug #1447865 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
1.10 |
Fix Released
|
High
|
Unassigned | ||
1.9 |
Fix Released
|
High
|
Unassigned | ||
15.04 |
Fix Released
|
High
|
Unassigned | ||
15.10 |
Fix Released
|
High
|
Unassigned |
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_
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.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Aaron Wells (u-aaronw) |
tags: | added: needs-behat |
tags: |
added: has-behat removed: needs-behat |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.