• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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