PHP's Command Line Interface (CLI) allows you to execute PHP scripts when logged in to your server through SSH.
ServerPilot installs multiple versions of PHP on your server so there are multiple PHP executables available to run.
Each of the following commands calls the PHP CLI for a different PHP version:
For PHP 5.6:
For PHP 7.0:
For PHP 7.1:
For PHP 7.2:
For PHP 7.3:
For more information, see the PHP CLI documentation.
Last updated: April 03, 2019