[TYPO3-dev] is it time for PHP5.2.1 now?

Jigal van Hemert jigal at xs4all.nl
Tue Dec 8 20:14:47 CET 2009


Steffen Müller wrote:
> Hi.
> 
> On 08.12.2009 19:07 Robert von Hackwitz wrote:
>> i beg your pardon, but line 63 in init.php is very clear:
>> if (version_compare(phpversion(), '5.1', '<'))    die ('TYPO3 requires 
>> PHP
>> 5.1.0 or higher.');
>>
> 
> please open a bugreport :)
> 

Because attachments don't work on this list and the patch is very small, 
a patch is supplied below.

--
Regards, Jigal.

Index: init.php
===================================================================
--- init.php	(revision 6566)
+++ init.php	(working copy)
@@ -60,7 +60,7 @@
  // *******************************
  // Checking PHP version
  // *******************************
-if (version_compare(phpversion(), '5.1', '<'))	die ('TYPO3 requires PHP 
5.1.0 or higher.');
+if (version_compare(phpversion(), '5.2', '<'))	die ('TYPO3 requires PHP 
5.2.0 or higher.');


  // *******************************





More information about the TYPO3-dev mailing list