From dcc884de2d82af8efbcbfa11f01ed825fc502735 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 13 Jan 2010 12:17:23 +0000
Subject: [PATCH] Require PHP version 5.2.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2117 44740490-163a-0410-bde0-09ae8108e29a
---
 docs/simplesamlphp-install.txt        | 2 +-
 modules/core/www/frontpage_config.php | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/docs/simplesamlphp-install.txt b/docs/simplesamlphp-install.txt
index e065ccf43..ac99cd3de 100644
--- a/docs/simplesamlphp-install.txt
+++ b/docs/simplesamlphp-install.txt
@@ -32,7 +32,7 @@ Prerequisites
 -------------
 
  * Some webserver capable of executing PHP scripts.
- * PHP version >= 5.2.0 if you are using simpleSAMLphp as an SP connected to a Shibboleth IdP; PHP version >= 5.1.2 if not.
+ * PHP version >= 5.2.0.
  * Suppoort for the following PHP extensions:
    * Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`
    * When encrypting assertions: `mcrypt`
diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php
index 856144e75..453fba3d9 100644
--- a/modules/core/www/frontpage_config.php
+++ b/modules/core/www/frontpage_config.php
@@ -88,11 +88,7 @@ $functionchecks = array(
 $funcmatrix = array();
 $funcmatrix[] = array(
 	'required' => 'required', 
-	'descr' => 'PHP Version >= 5.1.2. You run: ' . phpversion(), 
-	'enabled' => version_compare(phpversion(), '5.1.2', '>='));
-$funcmatrix[] = array(
-	'required' => 'reccomended', 
-	'descr' => 'PHP Version >= 5.2 (Required for Shibboleth 1.3 SP)', 
+	'descr' => 'PHP Version >= 5.2. You run: ' . phpversion(),
 	'enabled' => version_compare(phpversion(), '5.2', '>='));
 foreach ($functionchecks AS $func => $descr) {
 	$funcmatrix[] = array('descr' => $descr[1], 'required' => $descr[0], 'enabled' => function_exists($func));
-- 
GitLab