PHP Version Detection Capability

Detect what version of PHP is installed on the machine, rather than assuming a hardcoded value.