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!

MultiPHP Manager and php -v show different versions

Discussion in 'EasyApache' started by philas, Jan 24, 2018.

Tags:
  1. philas

    philas Member

    Joined:
    Jan 24, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherland
    cPanel Access Level:
    Root Administrator
    Hi there - I configured MultiPHP Manager to use php 5.6 for some users. However when i ssh into the server with the user's account and pull up php -v I still get the "old" standard server PHP version (5.4). When accessing from outside and pulling up an info.pnp the php version ist correctly shown (5.6). I can't install any software vis ssh that depends on 5.6...
    any thoughts and any help is appreciated! Thanks Phil
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Per our PHP Home document:

    EX:

    Code:
    /usr/bin/ea-php56 -v
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. philas

    philas Member

    Joined:
    Jan 24, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherland
    cPanel Access Level:
    Root Administrator
    Thank you! Not sure though what to put into the php.ini - can you pls advise?
     
  4. philas

    philas Member

    Joined:
    Jan 24, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherland
    cPanel Access Level:
    Root Administrator
    ..also when i deactivate php fpm php -v shows the correct version for the account. However - although the version is set to php 5.6 - i still get an error that php 5.4 is installed when trying to install software.....
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you elaborate on what setting you are attempting to change, and how you are attempting to make the modification? Generally, you'd use the MultiPHP INI Editor option in cPanel or WHM to make those changes.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. philas

    philas Member

    Joined:
    Jan 24, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherland
    cPanel Access Level:
    Root Administrator
    Thank you. Well I'm just trying to set the php version for this specific user to 5.6. i did so using MultiPHP Manager. php -v states the correct version when disabling php fp. ut still software checking the php version says php 5.4 installed..
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the contents of the .htaccess file within the document root of the affected website?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. philas

    philas Member

    Joined:
    Jan 24, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherland
    cPanel Access Level:
    Root Administrator
    ..thanks for pointing me in that direction - it was a subdirectory that was missing a .htaccess - fixed it and it is working now! Thank you!
     
    cPanelMichael likes this.
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