• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question Change default PHP version for Plesk Onyx on Ubuntu 16.04 Server

cij

New Pleskian
Hi all,

I need to change the default PHP version from 7(PHP from OS vendor ) to 5.6. Is this possible?

Changing the PHP version for a subscription or a domain is not resolving my issue. I need to install the XMR extension for PHP5.6 to get my CMS working. But now I get the error message that PHP7 is installed on the server.

Thank you very much in advanced
 
Why you can't use Plesk PHP 5.6 version for your goal from /opt/plesk/php/5.6/bin/ path instead of default OS php path?

# ll /opt/plesk/php/5.6/bin/
total 16996
-rwxr-xr-x 1 root root 4312304 Jul 7 10:59 lsphp
-rwxr-xr-x 1 root root 358 Jul 7 11:00 pear
-rwxr-xr-x 1 root root 383 Jul 7 11:00 peardev
-rwxr-xr-x 1 root root 443 Jul 7 11:00 pecl
lrwxrwxrwx 1 root root 9 Jul 10 16:59 phar -> phar.phar
-rwxr-xr-x 1 root root 14837 Jul 7 10:56 phar.phar
-rwxr-xr-x 1 root root 4329808 Jul 7 10:59 php
-rwxr-xr-x 1 root root 4308752 Jul 7 10:59 php-cgi
-rwxr-xr-x 1 root root 4417400 Jul 7 10:59 phpdbg
 
Back
Top