centralnicgroup-opensource / rtldev-middleware-whmcs

CentralNic's WHMCS Software Bundle
https://centralnicreseller.com
Other
39 stars 15 forks source link

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

Closed pavons closed 3 weeks ago

pavons commented 10 months ago

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 https://github.com/centralnicgroup-opensource/rtldev-middleware-whmcs/issues/234#issuecomment-1333803002 I see that the php 7.x support was dropped)

Can you please clarify?

KaiSchwarz-cnic commented 10 months ago

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.

🙋‍♂️

KaiSchwarz-cnic commented 4 months ago

fyi:

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.

pavons commented 4 months ago

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

KaiSchwarz-cnic commented 4 months ago

@pavons you're welcome!

mselner commented 3 weeks ago

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

KaiSchwarz-cnic commented 3 weeks ago

@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

Remitur commented 3 weeks ago

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...)

KaiSchwarz-cnic commented 3 weeks ago

@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!

AsifNawaz-cnic commented 3 weeks ago

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!

mselner commented 3 weeks ago

Hello,

v24.3.0 seems to be working with PHP8.2 and IonCube v13+. Thank you!

I have a few other WHMCS issues to work through and once that is done I will do some testing of the registrar module.

Thank you

Mike

On Oct 7, 2024, at 11:43 AM, Asif Nawaz @.***> wrote:

Hi @mselner https://github.com/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 https://github.com/centralnicgroup-opensource/rtldev-middleware-whmcs/releases/tag/v24.3.0). This update includes support for PHP 8.2, 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!

— Reply to this email directly, view it on GitHub https://github.com/centralnicgroup-opensource/rtldev-middleware-whmcs/issues/274#issuecomment-2397414404, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYGYDTNCVUOHWINWIC67OLZ2K2ZVAVCNFSM6AAAAABAJHOULKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJXGQYTINBQGQ. You are receiving this because you were mentioned.