• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved PHP version via .bashrc file for all system user

What about just upgrade your php version from OS vendor to needed version?
 
Hi,

Does it mean it will help ?
Can you please update me the exact steps? Or if there is a knowledge base link
 
I have no exact step-to-step instruction. It is just direction. For example, you have PHP version 5.3 from your OS vendor. You need to find third-party repository for your OS where PHP 7.x is included. Then add this repository and upgrade your outdated system php to new one from this repository.
If I'm not mistaken it is your goal?
 
What do you mean exactly "default for all"? For all websites hosting or as default php in command line interface?
In the second case why do you want to use as default php in command line exactly this Plesk php version? At the moment your default system php is /usr/bin/php and most probably it looks like:

# /usr/bin/php -v
PHP 5.4.16 (cli) (built: Oct 30 2018 19:30:51)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.

So, it is outdated PHP 5.x version from your OS vendor:

# rpm -qf /usr/bin/php
php-cli-5.4.16-46.el7.x86_64
# rpm -qi php-cli | grep Vendor
Vendor : CentOS

Then just ask Google for a phrase like "how to upgrade php on centos 7" and use instruction with adding third-party repo REMI or EPEL. For example How to install or upgrade to PHP 7 on CentOS 7 Linux Server - LinuxConfig.org

After that, you will have system PHP 7.x for your CLI operations and mentioned by you Plesk PHP 7.2 for websites hosting.
 
Back
Top