• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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