• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question change defualt php version

Carlos_Gallardo

New Pleskian
Hi, how can i change default PHP version for the shell not a website, currently had php 5.4 with Plesk 12.5, is it safe to change?
thanks in advance
 
Hi Carlos_Gallardo,

pls. note, that each PHP - version has it's very own path, when it comes to CLI - commands.

Examples:

Code:
For Plesk PHP - version commands:

/opt/plesk/php/5.2/bin/php -v
/opt/plesk/php/5.3/bin/php -v
/opt/plesk/php/5.4/bin/php -v
/opt/plesk/php/5.5/bin/php -v
/opt/plesk/php/5.6/bin/php -v
/opt/plesk/php/7.0/bin/php -v


Code:
For Plesk PHP "PECL" commands:

/opt/plesk/php/5.2/bin/pecl
/opt/plesk/php/5.3/bin/pecl
/opt/plesk/php/5.4/bin/pecl
/opt/plesk/php/5.5/bin/pecl
/opt/plesk/php/5.6/bin/pecl
/opt/plesk/php/7.0/bin/pecl



The vendor specific PHP CLI commands depend on your operating system and the installed PHP version on your server:

Code:
Commands for the PHP - vendor version:

/usr/bin/php -v

/usr/bin/pecl
 
Back
Top