• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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