Using the Contao Terminal

Sometimes certain Contao functions, or certain package functions, will require you to use "Console Commands". To do this, use WHM and open the cPanel for the website we are trying to work on. On the cPanel dashboard, open the Terminal page. This will display a DOS style box for entering console commands.

Specifying the PHP version

When using the terminal, you will have to occassionally specify which version of PHP to use inside of a command. Take this line from Contao's documentation as an example. The line reads 'php vendor/bin/contao-console list' and when using it, you will have to replace 'php' with the specific version the site is using like this:

List of PHP versions

Below is an easy-to-access list of PHP versions to be used in terminal commands so you don't have to hunt them down.