Community Forums

Discuss, share and get help from our community of friendly WHMCS users

Close
Login to Your Account
Results 1 to 15 of 15
  1. #1
    Join Date
    Apr 2009
    Posts
    179

    Default Support for PHP 7.1.x

    PHP 7.1.x was released December 2016, and now Ioncube has released Encoder version 10.0.x and ioncube loaders 10.0.x which both support PHP 7.1.x

    Question: Will WHMCS 7.3 support PHP 7.1.x? If not, how long do we need to wait for WHMCS adding support for PHP 7.1.x?

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Posts
    569

    Default Re: Support for PHP 7.1.x

    We have made some updates to the 7.3.0 RC.1 version to provide support for PHP 7.1

    This is your chance to try it out with a dev license and let us know if you see any issues.
    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  3. #3
    Join Date
    Mar 2008
    Posts
    12

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by whmcs andrew View Post
    we have made some updates to the 7.3.0 rc.1 version to provide support for php 7.1

    this is your chance to try it out with a dev license and let us know if you see any issues.
    http error 500

  4. #4
    Join Date
    Apr 2009
    Posts
    179

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by WHMCS Andrew View Post
    We have made some updates to the 7.3.0 RC.1 version to provide support for PHP 7.1

    This is your chance to try it out with a dev license and let us know if you see any issues.
    Have you used Ioncube Encoder version 10.0.x when encoding the files? If not they will not work on PHP 7.1.x

    I am not able to test on PHP 7.1.x, because I can't upgrade my server to PHP 7.1.x until you release a version that is compatible with PHP 7.1.x

  5. #5
    Join Date
    Jan 2016
    Location
    Sydney
    Posts
    183

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by WHMCS Andrew View Post
    We have made some updates to the 7.3.0 RC.1 version to provide support for PHP 7.1
    Excellent news, thanks!
    Brad Baker
    xyzulu.hosting

  6. #6
    Join Date
    Jul 2013
    Posts
    573

    Default Re: Support for PHP 7.1.x

    Hello,

    Supporting a new version of php requires two main phases:

    1) Ensuring that the code we ship is compatible with the language updates. As Andrew noted 7.3.0 includes changes required to make that happen.
    2) Ensuring that we can build an encoded product that works with loaders required for that php version. We have not used Ioncube Encode version 10 when encoding version 7.3.0 and we don't plan on changing the encoder for this release.

    With a code base as large as ours changing the encoder is not something we take lightly. In the past we have identified issues with the encoder and worked with ioncube to get them resolved. Changing the encoder requires more extensive testing and validation to ensure continuity for our customers. It also means we would lean towards a longer beta period and wider testing before a release. In the past we have timed encoder changes with major releases, so WHMCS 5.x used encoder version 7, WHMCS 6.x used version 8, and WHMCS 7.x has so far used version 9.

    We are monitoring the situation and will continue to think look for the best interests of our customer base.

    Thank you for your feedback.

    Nate
    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  7. #7
    Join Date
    Jan 2016
    Location
    Sydney
    Posts
    183

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by WHMCS Nate View Post
    2) Ensuring that we can build an encoded product that works with loaders required for that php version. We have not used Ioncube Encode version 10 when encoding version 7.3.0 and we don't plan on changing the encoder for this release.
    So are you saying WHMCS 7.3.x won't support php 7.1.x ?

    Sorry, I'm confused. Thanks in advance for explaining.
    Brad Baker
    xyzulu.hosting

  8. #8
    Join Date
    Aug 2016
    Location
    Auckland, New Zealand
    Posts
    897

    Default Re: Support for PHP 7.1.x

    Im chasing this up internally to confirm exactly what's happening here I'll update you when I hear back
    Thanks,
    Chris D
    WHMCS Community Manager

    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  9. #9
    Join Date
    Jul 2013
    Posts
    573

    Default Re: Support for PHP 7.1.x

    Brad,

    We don't currently support php 7.1.x with any WHMCS release and I don't expect that to change in the 7.3.x series.

    Nate
    Last edited by WHMCS Nate; 09-15-17 at 05:34 PM.
    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  10. #10
    Join Date
    Sep 2010
    Posts
    242

    Default Re: Support for PHP 7.1.x

    So when PHP 7.2 stable drops on November 30 we'll be three versions behind the latest. Nice.

  11. #11
    Join Date
    Jan 2016
    Location
    Sydney
    Posts
    183

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by WHMCS Nate View Post
    Brad,

    We don't currently support php 7.1.x with any WHMCS release and I don't expect that to change in the 7.3.x series.

    Nate
    I feel like I/we have been misled in public and private. In private ticket it was implied that WHMCS was php 7.1 compatible but just the v10 ioncube loaders were the holdup.

    In any case, you can't give us something you don't yet support, but I have to wonder why more work isn't going into keeping up with php versions. As a coder, this is something that should be second nature, and actually not that difficult.
    Brad Baker
    xyzulu.hosting

  12. #12
    Join Date
    Apr 2009
    Posts
    179

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by malfunction View Post
    So when PHP 7.2 stable drops on November 30 we'll be three versions behind the latest. Nice.
    Yes. I am also very disapointed with them not working more on this. There is mininal code changes needed between PHP 7.0.x and 7.1.x - all they need to do is to give us a download encoded with ioncube 10, but they will not for a long time (until the next major version), it seems.

  13. #13
    Join Date
    Mar 2013
    Posts
    14

    Default Re: Support for PHP 7.1.x

    Hi All,

    Providing new PHP version support in WHMCS is a continual goal for us and so we were pleased to see that Ioncube announced a new encoder. The new Ioncube Encoder v10, along with Loader v10, allows encoded files to work in PHP 7.1, the latest stable version available for server environments. Prior versions of the Encoder have afforded WHMCS the ability to provide cross-version compatibility, however, currently this is not viable with Encoder 10, but we're working on it.

    In short, developers cannot produce a single set of encoded files that work within both PHP 7.0 and PHP 7.1 server environments. If developers wish to provide support for PHP 7.1 and PHP 7.0, they must produce and publish two different sets of encoded files. Any attempt to alter the PHP environment requires both a server PHP and a software deployment change in tandem. This complicates the publication and distribution processes. But more so, affects our ability to provide a small, streamlined, and low-risk experience.

    We have already started internal testing, utilizing Encoder 10 and Loader 10 with a PHP 7.1 environment. We are also actively pursuing two other courses of action. First, we have reached out to Ioncube to understand all facets of Encoder v10 and potentials for cross-version compatibility. Second, we are researching the technical options available for future product updates that will allow you to update your server PHP version with minimal impact to visitors & clients.

    We will post further updates as we have them.

    Regards,
    -David
    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  14. #14
    Join Date
    Jan 2016
    Location
    Sydney
    Posts
    183

    Default Re: Support for PHP 7.1.x

    Quote Originally Posted by WHMCS David View Post

    In short, developers cannot produce a single set of encoded files that work within both PHP 7.0 and PHP 7.1 server environments. If developers wish to provide support for PHP 7.1 and PHP 7.0, they must produce and publish two different sets of encoded files.
    This is news to me.. I'll need to do some more research first, but off the top of my head that sounds like an Ioncube bug/serious feature mistake.
    Still, I am not convinced this is the case as your post is the first I have seen along these lines.

    Edit: I recall reading that a separate set of encoded files would be needed if you were distributing versions for php 5.x and php 7.x, but as I understood it, all php 7.x version should be supported by the same set of encoder v10 produced files.
    Last edited by xyzulu; 09-19-17 at 10:09 PM.
    Brad Baker
    xyzulu.hosting

  15. #15
    Join Date
    Mar 2013
    Posts
    14

    Default Re: Support for PHP 7.1.x

    Hi xyzulu,

    Thanks for the input/feedback. I understand your perspective and can imagine how it might be shared by others in this thread. Given that, I'd like to touch on the points you raise.

    Quote Originally Posted by xyzulu View Post
    off the top of my head that sounds like an Ioncube bug/serious feature mistake.
    Maybe...However, Ioncube provides products that serve the PHP development community, it's in their interest to create the most viable solutions for their clients. I see no reason to either doubt their evaluation/deliverable related to the technical challenges when working with PHP internal engine changes, or malign their efforts. Regardless, it's a challenge that we must overcome and I'm confident we can address it.

    Quote Originally Posted by xyzulu View Post
    Still, I am not convinced this is the case as your post is the first I have seen along these lines.
    Our team has performed several rounds of testing to confirm these results (as well as the aforementioned communications with Ioncube).

    Quote Originally Posted by xyzulu View Post
    Edit: I recall reading that a separate set of encoded files would be needed if you were distributing versions for php 5.x and php 7.x, but as I understood it, all php 7.x version should be supported by the same set of encoder v10 produced files.
    The following screenshot is directly from the README.txt within the Encoder v10 download. Note the 71_10.0 binary is capable of encode any PHP syntax, however the consumer/server is require to have PHP 7.1, not just any 7.x. What is implied, and thus required time for exhaustive testing & confirmation, is that the 56_10.0 binary produces encodings with the same support as the 56_9.0 binary; that the current documentation is actually meant to say "PHP 5.6 or PHP 7.0", not "PHP 5.6 or newer". It is my pure speculation that this is simply a hold-over from the Encoder v9 documentation (which reads the same, verbatim) that was authored & published before PHP 7.1 was stable. So, at least at that time, the behavior and intent were aligned.

    encoder_v10_readme.png


    We are working hard to find a resolution that is suitable for production environments and incurs the least amount of effort for our clients. We will post further updates as we have them.

    Regards,
    -David
    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

Similar Threads

  1. Question on PHP 5.5.21 support
    By pointaction in forum Using WHMCS
    Replies: 5
    Last Post: 02-11-15, 08:26 PM
  2. Replies: 2
    Last Post: 06-25-14, 04:36 PM
  3. PHP 5.3 Support
    By ramaboo in forum Using WHMCS
    Replies: 1
    Last Post: 09-17-09, 04:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •