• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

[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