• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved php-version 7.2

itoop

New Pleskian
Hallo,

I use plesk version 17.8.11. I configured php-version 7.2.4, but a php -i in the bash shows version 7.0.28:

$ php -i
phpinfo()
PHP Version => 7.0.28-0ubuntu0.16.04.1

A software, which needs at least php version 7.1 shows with composer in the bash, that I'm using version 7.0.28, too.

What can I do? Thank you.
 
The shell uses the PHP version that comes with your operating system. You may need to upgrade that one.
 
Or, as an alternative to upgrading your OS PHP version, you can simply use the PHP interpreter that comes with Plesk:
/opt/plesk/php/7.2/bin/php (instead of the OS PHP in /usr/bin/php)
 
That won't work, because chrooted shell limits access to the user account. The path /opt/plesk is not within the user account.
 
Back
Top