• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

use php-cli 5.6 instead php-cli 5.4.45

jeanpaul

Basic Pleskian
Hi,
how i can use php 5.6 with ssh terminal server ?
actually when i check php version with command line "php -v", i get

PHP 5.4.45 (cli)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

How i can use php 5.6 instead ?
but for my virtual host i use php 7.0.2

does i need to use specific accout in ssh ? i'm connected with root account
 
[root@ppu12-5 ~]# /opt/plesk/php/7.0/bin/php -v
PHP 7.0.2 (cli) (built: Jan 13 2016 15:29:39) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

[root@ppu12-5 ~]# /opt/plesk/php/5.6/bin/php -v
PHP 5.6.17 (cli) (built: Jan 12 2016 12:28:20)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
 
Back
Top