MultiPHP Manager and php -v show different versions

philas

Member
Jan 24, 2018
6
1
3
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

Per our PHP Home document:

To more easily allow you to call the PHP binaries directly, we provide the following symlinks for each version of PHP installed on your system:
  • PHP CLI — /usr/local/bin/ea-php##, where ## represents the two-digit PHP version.
  • PHP CGI — /usr/bin/ea-php## command, where ## represents the two-digit PHP version.
EX:

Code:
/usr/bin/ea-php56 -v
Thank you.
 

philas

Member
Jan 24, 2018
6
1
3
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.....
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Thank you! Not sure though what to put into the php.ini - can you pls advise?
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.
 

philas

Member
Jan 24, 2018
6
1
3
netherland
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.
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..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

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

Thank you.