Index: installer/check.php
===================================================================
--- installer/check.php	(revision 1219)
+++ installer/check.php	(working copy)
@@ -37,11 +37,13 @@
 <h3>Checking PHP version</h3>
 <?php
 
-if (phpversion() > 4.3) {
-    $RCI->pass('Version', 'PHP ' . phpversion() . ' detected');
-} else {
-    $RCI->fail('Version', 'PHP Version 4.3.1 or greater is required');
+define("MIN_PHP_VERSION", "4.3.1");
+if (version_compare(PHP_VERSION, MIN_PHP_VERSION, ">=")) {
+    $RCI->pass('Version', 'PHP ' . PHP_VERSION . ' detected');
 }
+else {
+    $RCI->fail('Version', 'PHP Version ' . MIN_PHP_VERSION . ' or greater  is required, ' . PHP_VERSION . ' detected');
+}
 ?>
 
 <h3>Checking PHP extensions</h3>
