[Mapbender-commits] r1668 - trunk/mapbender/http/tools

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Sep 11 15:10:28 EDT 2007


Author: marko
Date: 2007-09-11 15:10:28 -0400 (Tue, 11 Sep 2007)
New Revision: 1668

Modified:
   trunk/mapbender/http/tools/mapbender_setup.php
Log:
updated the php version check (<5.1.0 =>alert!)

Modified: trunk/mapbender/http/tools/mapbender_setup.php
===================================================================
--- trunk/mapbender/http/tools/mapbender_setup.php	2007-09-10 07:53:18 UTC (rev 1667)
+++ trunk/mapbender/http/tools/mapbender_setup.php	2007-09-11 19:10:28 UTC (rev 1668)
@@ -53,11 +53,11 @@
 ###########################################
 #phpversion
 	$check ="<tr ><td  width=\"25%\">php Version</td>";
-	if (phpversion()>'4.3.0'){
-		if (phpversion()<'5.1.0') $check .="<td width=\"10\"></td><td><font color=#0000FF>Version: " . phpversion() . "! you should think about upgrade to >=php5.1!</td></tr>";
+	if (phpversion()>='5.1.0'){
+		if (phpversion()<'5.2.0') $check .="<td width=\"10\"></td><td><font color=#0000FF>Version: " . phpversion() . "! You should think about upgrade to the current php version (get it <a href='http://www.php.net/downloads.php' target='_blank'>here</a>)</td></tr>";
 		else $check .="<td width=\"10\">X</td><td><font color=#00D000>Version: " . phpversion() . "</td></tr>";
 	}
-	else $check .="<td width=\"10\"></td><td><font color=#FF0000>Version: " . phpversion() . "! your PHP is very old, think about upgrade to >=php5.1!</td></tr>";
+	else $check .="<td width=\"10\"></td><td><font color=#FF0000>Version: " . phpversion() . "! Your PHP Version is very old, please upgrade to version >=5.1.0 to use full mapbender functionality and reduce problems!</td></tr>";
 #php-schnittstelle 
 	if(php_sapi_name() == 'cgi') $check.="<tr><td >interface</td><td>X</td><td><font color=#00D000>CGI-PHP</td></tr>";
 	else $check.="<tr><td >interface</td><td>X</td><td><font color=#00D000>Modul-PHP</td></tr>";



More information about the Mapbender_commits mailing list