Results 1 to 12 of 12

Thread: PHP 5.4 support

  1. #1
    Join Date
    Sep 2010
    Posts
    118

    Default PHP 5.4 support

    Title speaks for itself really. PHP 5.4 is the latest stable version of PHP and has been released for more than 3 months.

  2. #2
    Join Date
    Jan 2010
    Location
    Spain
    Posts
    136

    Default

    Theres 2 stable versions for each branch, 5.3.14 and 5.4.4. 90% of hosting services use php 5.2/5.3 and thats the reason each release is tested with those versions. But yes, they should also make php 5.4 compatible in next updates.
    http://whmcsmod.com
    Custom WHMCS modules
    Livedrive Backup | Cloudberry Backup | Sermepa | Smartermail | Teamspeak 3 | Leaseweb | Hetzner |

  3. #3
    Join Date
    Jul 2005
    Location
    UK
    Posts
    8,437

    Default

    Providing you have the PHP 5.4 Ioncube loaders it should already work. Are you experiencing a particular problem?

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

  4. #4
    Join Date
    Sep 2010
    Posts
    118

    Default

    Quote Originally Posted by Matt View Post
    Providing you have the PHP 5.4 Ioncube loaders it should already work. Are you experiencing a particular problem?
    It didn't work for me, the intelligent search was broken and clients were unable to login. As it was the production site I rolled back to 5.3.x PDQ rather than experiment further, but I'll try on the dev site if you're confident it should work.

  5. #5
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    1,683

    Default

    Quote Originally Posted by malfunction View Post
    It didn't work for me, the intelligent search was broken and clients were unable to login. As it was the production site I rolled back to 5.3.x PDQ rather than experiment further, but I'll try on the dev site if you're confident it should work.
    I cant really think of any reason it wouldnt work, but I have yet to try it myself. Let us know how it turns out.

  6. #6
    Join Date
    Sep 2010
    Posts
    118

    Default

    OK, thanks for the affirmation there. After some tinkering with memcached and a switch to 5.4.4 (instead of 5.4.3) I got it working, so we're happy once more.

  7. #7
    Join Date
    Jul 2009
    Posts
    12

    Default

    Do you mind sharing with the rest of us what sort of tinkering you did to get it to work with 5.4.4? I too can confirm that search and client login are broken.
    Last edited by Slice; 07-21-12 at 07:14 PM.

  8. #8
    Join Date
    Sep 2010
    Posts
    118

    Default

    Never went back and retried 5.4.3, but 5.4.4 wasn't that big a problem really. Main thing there was to be sure to empty the templates_c directory and clear out any other caching mechanisms you may have.

  9. #9
    Join Date
    Apr 2010
    Posts
    61

    Default

    We had issues with PayPal callbacks / IPN notifications not working correctly. Once we downgraded to 5.3 everything is working again.

  10. #10
    Join Date
    Jul 2009
    Posts
    12

    Default

    Thanks, guys. I had to go between 5.2, 5.3 and 5.4 with a lot of tweaking of the php.ini and recompliling before I was able to resolve conflicts and problems. The end result is I ended up with PHP 5.4.5 with no errors with php -v and all functionality restored with WHMCS. I am going to do some further investigation tomorrow in order to understand what where the specific, and definitely multiple, problems were.

  11. #11
    Join Date
    Jul 2009
    Posts
    12

    Default

    So far I've narrowed down the problem to the example production php.ini and I'm trying to track down the exact line causing the bug. Anybody want to take an educated guess?

  12. #12
    Join Date
    Jul 2009
    Posts
    12

    Default

    It's somewhere below the Module Settings section, outside of the [PHP] context.