• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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