Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP bug 75573

Discussion in 'EasyApache' started by twhiting9275, Dec 2, 2017.

  1. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    556
    Likes Received:
    16
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Can we please get an update to PHP to fix this bug
    This has been out for a bit, should have already been patched in and distributed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like PHP will include a fix for that bug in PHP versions 7.1.13 and 7.0.27. I can open an internal request to see if we can get this bug patched ahead of time, but I currently see no other reports of this causing widespread errors (it looks to mostly affect WordPress Gallery plugin users). Could you elaborate more on the effect this is having on your websites? Note in the meantime, one potential workaround is to assign the affected accounts a different version of PHP (e.g. PHP 5.6).

    Thank you.

    Note: Edited to remove reference to PHP 7.2 as a workaround. PHP is including the fix for the 7.2 branch in version 7.2.1.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 cPanelMichael, Dec 5, 2017
    Last edited: Dec 6, 2017
  3. Aeternal

    Aeternal Registered

    Joined:
    Dec 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    I see that PHP 7.2.0 has been distributed now. Thank you for that. It looks like, however, that the issue still persists on 7.2.0. I'm surprised that there hasn't been more of an uproar, to be honest. It's true that the problem seems to be with primarily with NextGen Gallery users. That plugin has 1+ million active installs. I use it a lot on many of my client's websites. Sure, we can roll back to 5.6 but the performance hit doesn't seem worth it.

    The NextGen folks, to their credit, have it made so that if affected PHP versions are detected a warning message is displayed and the plugin is disabled. You only see the shortcode instead of getting a server error. Apparently, their code for the plugin makes heavy use of some PHP "magic method" that is not easily fixed with a patch on their end. So we are at the mercy of getting a patch quickly rolled out by the PHP devs.

    I know you guys at cPanel don't have anything to do with this but if you do have any pull or sway with the PHP team, whatever can be done to expedite a patch would be much appreciated.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice