Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pavons opened this issue Dec 6, 2023 · 10 comments
Closed

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

pavons opened this issue Dec 6, 2023 · 10 comments
Assignees
Labels
dependencies Pull requests that update a dependency file question Further information is requested

Comments

@pavons
Copy link

pavons commented Dec 6, 2023

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?

@KaiSchwarz-cnic
Copy link
Contributor

KaiSchwarz-cnic commented Dec 6, 2023

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.

🙋‍♂️

@pavons pavons closed this as completed Dec 14, 2023
@KaiSchwarz-cnic KaiSchwarz-cnic changed the title WHMCS v8.8 support and supported PHP version Latest WHMCS: which version of MySQL, PHP, ioncube loader? Feb 1, 2024
@KaiSchwarz-cnic KaiSchwarz-cnic changed the title Latest WHMCS: which version of MySQL, PHP, ioncube loader? WHMCS: which version of MySQL, PHP, ioncube loader? Feb 1, 2024
@KaiSchwarz-cnic KaiSchwarz-cnic pinned this issue Feb 1, 2024
@KaiSchwarz-cnic KaiSchwarz-cnic self-assigned this Feb 1, 2024
@KaiSchwarz-cnic KaiSchwarz-cnic added question Further information is requested dependencies Pull requests that update a dependency file labels Feb 1, 2024
@KaiSchwarz-cnic
Copy link
Contributor

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.

@pavons
Copy link
Author

pavons commented Jun 25, 2024

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

@KaiSchwarz-cnic
Copy link
Contributor

@pavons you're welcome!

@mselner
Copy link

mselner commented Oct 3, 2024

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
Copy link
Contributor

@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
Copy link

Remitur commented Oct 4, 2024

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
Copy link
Contributor

@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
Copy link
Contributor

AsifNawaz-cnic commented Oct 7, 2024

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
Copy link

mselner commented Oct 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants