• 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.

Issue PHP version doesn't change

gawrrell

New Pleskian
Hello,

I have installed PHP version 5.6 from "Updates and Upgrades" area and then I've set my website to use this new version.
When I login via SSH to my website and run "php -v " it shows me the default version php 5.4.
I've attached 2 photos for example.

err.png

err2.png
 
@qawrell,

This normal.

The php -v command indicates output for the default binary, while the domain uses a different php binary.

Regards....
 
Correct command should be:

# /opt/plesk/php/5.6/bin/php -v
PHP 5.6.22 (cli) (built: Jun 7 2016 10:33:10)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
 
Back
Top