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.
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.