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!

Changing PHP version Issue

Discussion in 'EasyApache' started by Enrique Delavau, Aug 16, 2016.

Tags:
  1. Enrique Delavau

    Enrique Delavau Registered

    Joined:
    Aug 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Alright so i want to report a bug, but i don't know how to spot it because i lack knowledge.

    Its simple. If from WHM i set a website to PHP 5.6 or PHP 7, from the cPanel login it always show 5.5.38 for some reason

    Thats it, hope it helps.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,565
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hello Enrique,

    Which interface do you use in WHM to change the PHP version? Please provide a screen shot (with domains hidden)

    Which interface in cPanel shows 5.5.38 as the PHP version? Please provide a screen shot.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Enrique Delavau

    Enrique Delavau Registered

    Joined:
    Aug 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hi. I think its just a minor issue of "showing" the right version, because when i do a phpinfo.php it seems to have the right version.

    Here are the screenshots
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The PHP version comes from the following file:

    Code:
    /etc/apache2/conf.d/php.version
    The data in that file is cached as part of the /var/cpanel/globalcache/cpanel.cache file for display on the "Server Information" page in cPanel. Note the "Server Information" page will not display the individual PHP version assigned to the account as part of the MultiPHP option.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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