How to Change the Version of the ‘php’ Command – ServerPilot

For each PHP version ServerPilot installs on your server, ServerPilot also installs the PHP command line interface (CLI) for that PHP version.