[BUGFIX] Raise required PCRE version
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / SystemEnvironment / Check.php
index cffea82..596a8f3 100644 (file)
@@ -274,7 +274,7 @@ class Check implements CheckInterface
      */
     protected function checkPcreVersion()
     {
-        $minimumPcreVersion = '8.30';
+        $minimumPcreVersion = '8.38';
         if (!extension_loaded('pcre')) {
             $status = new Status\ErrorStatus();
             $status->setTitle('PHP extension pcre not loaded');
@@ -284,9 +284,9 @@ class Check implements CheckInterface
                 ' in with minimum version ' . $minimumPcreVersion . '.'
             );
         } else {
-            $installedPcreVersionString = trim(PCRE_VERSION); // '8.31 2012-07-06'
+            $installedPcreVersionString = trim(PCRE_VERSION); // '8.39 2016-06-14'
             $mainPcreVersionString = explode(' ', $installedPcreVersionString);
-            $mainPcreVersionString = $mainPcreVersionString[0]; // '8.31'
+            $mainPcreVersionString = $mainPcreVersionString[0]; // '8.39'
             if (version_compare($mainPcreVersionString, $minimumPcreVersion) < 0) {
                 $status = new Status\ErrorStatus();
                 $status->setTitle('PCRE version too low');