• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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