Plesk

CentOS: how to execute a php file with different php version than the php version of OS

To execute a php file with different php version than the version installed on the main php of your Server follow this:

You should know that where is that php version located so that you can add the path.

In my case I want to use PHP 7 that is installed in the plesk hosting panel folder so I’ll run following command:

 /opt/plesk/php/7.0/bin/php server.php

In […]

How to install Plesk on Linux CentOS?

Download the autoinstaller from our website:

Add execute permissions to the autoinstaller:

Launch the autoinstaller:

If upgrading Plesk from a lower version:
Command line:

GUI (Graphical user interface):

For more information, please refer to Plesk Installation guide.

Tested on CentOS 6.7 x64

Source: https://kb.plesk.com/en/119521 […]