Navigation

Search

getServerVersions

Description

Gets the version numbers for various programs installed on the server

Syntax

array getServerVersions (array $checkFor)



Parameter $checkFor

Expected type: Array
Description: What we should check the versions for. Can contain one or more of the following: gd, db_server, mmcache, eaccelerator, phpa, memcache, xcache, php and server



Return value

Expected type: Array of arrays
Description: An array of information about the versions of everything in checkFor. Keys are the values from $checkFor and each is an array containing title and version.


View all versions of this function