centralnicgroup-opensource/rtldev-middleware-whmcs

WHMCS: which version of MySQL, PHP, ioncube loader?

Closed this issue ยท 10 comments

pavons commented

Hello @KaiSchwarz-cnic,

Is WHMCS v8.8 supported?

What is the minimum php version that can I use with the latest release (v21.6.8)?

Is php73 still supported? (as I can seen on my prev issue #227 and also this release note: https://github.com/centralnicgroup-opensource/rtldev-middleware-whmcs/releases/tag/v8.3.1 but on this issue #234 (comment) I see that the php 7.x support was dropped)

Can you please clarify?

We usually do not support PHP versions that reached EOL (marked in red):
https://www.php.net/supported-versions.php

Based on that range of supported PHP versions, please refer to the below Guides to identify your final WHMCS setup.

Identify

NOTE: We always support the latest version of WHMCS and the respective maximum versions of the above listed software dependencies.

Still, our modules could be compatible with an older version of PHP e.g. PHP 7.4. We are just not offering support for it and can't ensure that this still works.

Maybe of use: Versions higher than v22.7.1 are encoded with ioncube encoder 74 and 81. Older versions were encoded with 72 and 81. From ioncube encoder's user guide:

ioncube encoder 81 is the PHP 8.1 Encoder, and should be used for encoding projects that make use of PHP 8.1 language features. Files can run on PHP 8.1.
ioncube encoder 74 is the PHP 7.4 Encoder, and should be used for encoding projects that make use of PHP 7.4 language features. Files can run on PHP 7.4.
ioncube encoder 72 is the PHP 7.2 Encoder, and should be used for encoding projects that make use of PHP 7.2 language features. Files can run on PHP 7.2 and 7.4.

๐Ÿ™‹โ€โ™‚๏ธ

fyi:

  • PHP 7 supported until v23.7.4.
  • PHP 8 supported since v23.7.5

we planned releasing PHP 8 only support with the next major version v24, but a software dependency of us (phpseclib) did not consider semantic versioning principles and released PHP 8 support over a patch version. So, by that this came a bit earlier, just unexpected for us.

Thanks @KaiSchwarz-cnic for the info.
Very appreciated.

@pavons you're welcome!

Hello, I'm getting this error: The file /var/www/whmcs/docs/modules/addons/cnicdns/cnicdns.php encoded as type [1/81] cannot be decoded by this version of the ionCube Loader

Environment:
FreeBSD 13.3.p7
PHP 8.2.23 (cli) (built: Sep 10 2024 01:34:37) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.23, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
with Zend OPcache v8.2.23, Copyright (c), by Zend Technologies
WHMCS 11.0.2

I believe this means that the rtldev-middleware-whmcs software is compiled with IonCube for PHP8.1.
Do you have a schedule for releasing a version for PHP8.2 or 8.3?
Thank you

@mselner, thanks for reaching out!

Yes, you're right that we're by that not yet ready for PHP 8.2. PHP8.3 isn't yet supported by WHMCS, so no.
Please downgrade to PHP8.1 and ioncube Loader v12.0.1 for now. I keep this thread in the loop regarding PHP 8.2 support.

Kind Regards

Please downgrade to PHP8.1 and ioncube Loader v12.0.1 for now.

AFAIK, Ioncube is (or should be...) backwards compatible: so Ioncube 13.0.2 should be ok also with PHP 8.1 (I have an install where Ioncube 12.0.1 is working fine with PHP 7.2.34...)

@Remitur yes, good point - I fully agree. I just reflected the setup covered by whmcs for PHP 8.1.
Thanks so much for helping others and by that supporting us and our work. Very much appreciated!

Hi @mselner,

Thank you for reaching out.

We are pleased to inform you that we have just released a new version of our WHMCS Software Bundle (v24.3.0). This update includes support for PHP 8.2 (also supports 8.3), IonCube Loader v13+, and WHMCS v8.11+.

If you have any further questions or concerns, please feel free to reply to this issue.

Best regards!