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!

subdomain loads php 5.6 on http and php 7 on https

Discussion in 'General Discussion' started by roadpaperweight, Feb 14, 2019.

  1. roadpaperweight

    roadpaperweight Member

    Joined:
    Apr 11, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    santiago chile
    cPanel Access Level:
    Root Administrator
    I have a whm/cpanel vps. I am trying out opendocman and I had to downgrade to php 5.6 because of deprecated class constructors. No worries. I changed the subdomain to 5.6 and it works fine on http, but of https, it is running php 7 (which doesn't work).

    I can't find anything online with people having this problem. I didn't even know it was possible to run different versions of php for http/https. how to I force the php downgrade on https?
     
  2. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    368
    Likes Received:
    25
    Trophy Points:
    178
    Location:
    Spokane, Washington
    cPanel Access Level:
    Root Administrator
    The software vendor last updated over 3 years ago so the PHP scripting most likely not updated enough to run PHP 7.x

    Latest Stable Version – v1.3.5 (01/31/2016)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. roadpaperweight

    roadpaperweight Member

    Joined:
    Apr 11, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    santiago chile
    cPanel Access Level:
    Root Administrator
    Which is why I downgraded to 5.6

    But it only downgraded http://mydomain

    https:// still is php7|

    Why isn't multiphp manager working for both? Clearly something is overriding it, but what could it be?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @roadpaperweight,

    Can you open a support ticket so we can take a closer look at the affected account on the system? You can post the ticket number here and we'll update this thread with the outcome.

    Thank you.
     
Loading...

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