• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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