• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

[PPP-18022] PHP 5.6 for Plesk includes outdated PCRE

andre.spindler

Basic Pleskian
Hello board, could someone help me, please?

At the moment plesk is not able to support current TYPO3 Versions 7.3.

The multiple PHP versions are fine, but there is a problem with php 5.6. Just a few minutes ago I did an update and got 5.6.10.
But it istill includes PCRE 7.8, dated 2008-09-05. What the f*** is this seven year old library version doing here?
TYPO3 7.3 requires PHP 5.6. And it also requires PCRE 8.30, which was published in march 2012, just three years ago. Even this is an old version now...

Can anybody help me how to replace this library in the native php package of plesk?
Or will I have to install und further update an own php package of 5.6? As the feature of multiple php versions is "well meant but unfortunately poorly executed" because it uses poor old components for new versions?

Regards,
André Spindler
 
Plesk doesn't ship PCRE, it only downloads it from original OS vendor repo and it is quite likely it may be outdated there (especially for older OS). If your OS comes with modern version of PCRE, then Plesk would run this version. For example, on my test Plesk 12 server:

# rpm -qi pcre | grep Vendor
Version : 7.8 Vendor: CentOS
 
you are wrong
What is wrong here?

[root@ppu12-0 ~]# rpm -qa | grep pcre
pcre-7.8-7.el6.i686

[root@ppu12-0 ~]# rpm -qi pcre | grep Vendor
Version : 7.8 Vendor: CentOS

[root@ppu12-0 ~]# rpm -qi pcre | grep Packager
Packager : CentOS BuildSystem <http://bugs.centos.org>

[root@ppu12-0 ~]# plesk version
Product version: 12.0.18 Update #69
Update date: 2015/10/13 05:12
Build date: 2015/08/17 13:00
Build target: CentOS 6
Revision: 333059
Architecture: 32-bit
Wrapper version: 1.1
 
your check is wrong:

# rpm -qf /usr/bin/php
php-cli-5.4.43-49.el6.art.x86_64

# /usr/bin/php -i | grep "PCRE Library"
PCRE Library Version => 8.37 2015-04-28

# rpm -qf /opt/plesk/php/5.6/bin/php
plesk-php56-cli-5.6.13-centos6.15090811.x86_64

# /opt/plesk/php/5.6/bin/php -i | grep "PCRE Library"
PCRE Library Version => 7.8 2008-09-05

and packages from atomic:
# /opt/atomic/atomic-php56/root/usr/bin/php -i | grep "PCRE Library"
PCRE Library Version => 8.34 2013-12-15

also if you compile your own php you will get a never PCRE ....
 
Sure, but I wrote about default Plesk 12 installation without Atomic repository and without compiled php.

in this case you have outdated PCRE in PHP, that's the point here ...

and for your information, php is shipped with newer PCRE Version, you just need to use it when you compile php:
http://php.net/manual/en/pcre.installation.php

"By default, this extension is compiled using the bundled PCRE library."

my opinion, if you need good php versions, just use atomic:
https://atomicorp.com/downloads/
 
Last edited:
I have this also checked out:

# /usr/bin/php -i | grep "PCRE Library"
PCRE Library Version => 8.32 2012-11-30

# /opt/plesk/php/5.5/bin/php -i | grep "PCRE Library"
PCRE Library Version => 7.8 2008-09-05

Does this mean that the compilation of the additional PHP verisons will be fixed with PPP-18022?
Is it possible to get a timeline about this? Still some days, weeks or a few months?
 
Update 8 has been released today - and it works:

# /opt/plesk/php/5.5/bin/php -i | grep "PCRE Library"
PCRE Library Version => 8.37 2015-04-28

Thanks!!
 
Back
Top