• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PHP version plesk panel and shell not matching

Ahmad12

Basic Pleskian
on plesk panel the php version for a virtual host is 7.0.5, but when connecting to shell and by running php -v the result is:
PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27)

why and how to correct this?
 
Just use correct path:

# /opt/plesk/php/7.0/bin/php -v
PHP 7.0.5 (cli) (built: Apr 15 2016 12:50:44) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
 
Back
Top