Bug #81335

Using a old PCRE version like 8.35 with PHP7 leads to PHP sigfault crashes in TYPO3

Added by Stephan Großberndt about 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2017-05-24
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

A check in Install Tool for the PCRE version should be added displaying a warning if an outdated PCRE library version is used on PHP7

https://secure.php.net/manual/en/pcre.installation.php lists

- PCRE 8.37 as minimum compatible version for PHP 7.0.0
- PCRE 8.38 as minimum compatible version for PHP 7.0.3

When installing PHP7 on Debian Jessie or Raspian it may happen the outdated PCRE version 8.35-3.3+deb8u4 is used. This leads to PHP crashes in PHP-FPM on certain pages in TYPO3 backend like the Languages page

Associated revisions

Revision 012776d2 (diff)
Added by Stephan Großberndt about 2 years ago

[BUGFIX] Raise required PCRE version

Warn about an outdated PCRE version which is not compatible to PHP 7.0
in the Install Tool to make aware of possible PHP crashes in the TYPO3
backend.

Releases: master, 8.7
Resolves: #81335
Change-Id: I0db145146eb02bcab81a83195f375c87ae85f3e4
Reviewed-on: https://review.typo3.org/52936
Tested-by: TYPO3com <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 6c6d1902 (diff)
Added by Stephan Großberndt about 2 years ago

[BUGFIX] Raise required PCRE version

Warn about an outdated PCRE version which is not compatible to PHP 7.0
in the Install Tool to make aware of possible PHP crashes in the TYPO3
backend.

Releases: master, 8.7
Resolves: #81335
Change-Id: I0db145146eb02bcab81a83195f375c87ae85f3e4
Reviewed-on: https://review.typo3.org/53022
Tested-by: TYPO3com <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Stephan Großberndt about 2 years ago

  • Description updated (diff)

#2 Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52936

#3 Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53022

#4 Updated by Stephan Großberndt about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Ernesto Baschny over 1 year ago

If you reached this page and are using Debian Jessie and PHP 7 from DotDeb the mentioned problem was solved there, by having an updated libpcre3 also in DotDeb. Currently: 8.35-3.3+deb8u4 => 8.39-1~dotdeb+8.1.

#6 Updated by Jörg Velletti 12 months ago

If you reached this page and using Cent OS 6 and PHP 7.1 you can update to PRCE2. This will not change the Warning in the Installtool, but the Problems are also fixed as php 7.1 is now using the newer LIB but does not change the PHP Constant PRCE_VERSION

#7 Updated by Benni Mack 10 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF