The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,458
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,666
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page