• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Issue Plesk segfault due to error 4 in ioncube_loader_lin_7.4.so

Polmonino

Basic Pleskian
Server operating system version
AlmaLinux 8.10
Plesk version and microupdate number
18.0.65 Update #1
My website (PHP 7.4 FPM Nginx) stopped working on some pages with the following error:

2024-11-20 10:10:39Errorxx.xx.xx.xx503GET /api/products?page=1&limit=24&orderBy%5Bname%5D=asc&gender%5Bin%5D%5B%5D=X-BIONIC%C2%AE+WOMEN&line%5Bin%5D%5B%5D=ENERGIZER&available%5Beq%5D=1&status%5Beq%5D=10&season%5Beq%5D=XTEFW24XB HTTP/1.0
curl/8.10.1
1007Apache SSL/TLS access
2024-11-20 10:10:40Errorxx.xx.xx.xxAH01067: Failed to read FastCGI headerApache error
2024-11-20 10:10:40Errorxx.xx.xx.xx(104)Connection reset by peer: AH01075: Error dispatching request to :

As soon as I request that url, the error shows in /var/log/messages:

Nov 20 10:09:11 juno kernel: php-fpm[3778005]: segfault at 7ff9839393f3 ip 00007ff97e061770 sp 00007ffdb7319138 error 4 in ioncube_loader_lin_7.4.so[7ff97dfab000+145000]

If I disable the iocube extension page works correctly.

What should I do?
 
I had to disable the extension, and I don't like it even though I don't use it. I couldn't reinstall the PHP version because it's a production server where I can't create downtime or issues.
 
So I can confirm manually updating ionCube fixes the issue for my case (an old broken authentification for symfony, causing segfaults and 503 errors).
But ultimately the problem is that the embedded ionCube in Plesk's PHP 7.4 is obsolete... More obsolete than PHP 7.4 itself.
So this should be fixed at package level by Plesk.
 
The ionCube version shipped with PHP 7.4 is 11.0.1, which as far as I am aware is the correct version corresponding to PHP 7.4. @LRob , please do correct me if I am wrong.
 
You are both right.
Every ionCube version comes compatible with every single PHP version. And latest at the time of writing is 14.4.0. Link: ionCube Loader - Configure for your website to run protected PHP code

Original file:
root@srv02 /opt/plesk/php/7.4/lib/php/modules # strings ioncube_loader_lin_7.4.bak.orig.plesk | grep -i version
zend_get_module_version
extension_version_info
version: 11.0.1
php version: 7.4.0
ic24_api_version
ioncube_loader_version
ioncube_loader_iversion
| ionCube Loader Version 11.0r1 |
Updated file:
root@srv02 /opt/plesk/php/7.4/lib/php/modules # strings ioncube_loader_lin_7.4.so | grep -i version
bi_phpd_version
zend_get_module_version
zif_ic24_api_version
extension_version_info
PROPERTY_ENCODING_VERSION
zim_reflection_extension_getVersion
zim_reflection_zend_extension_getVersion
php version: 7.4.0
version: 14.4.0
ic24_api_version
ioncube_loader_version
ioncube_loader_iversion
extension #%d %s version %s ] {
<no_version>
getVersion
| ionCube Loader Version 14.4 |
.gnu.version
.gnu.version_r
An update within Plesk packages would be handy and prevent segfaults and weird 503 errors that take hours to diagnose. :)
(btw, thanks for people making and participating to this post, and putting me on the right track)

Best regards
 
We registered a case identified with ID PPPM-14945 to update the ionCube version shipped with PHP 7.4. At this point, I cannot provide any ETA on when the change will be introduced. You can monitor the change log here. Thank you for bringing our attention to the issue.
 
Back
Top