Procédure
The Terminal tool in the LWS Panel allows you to have an SSH shell directly on your web hosting, via your web browser while being logged into your customer area, without needing an SSH client like Putty.
It is a practical tool if you need to run commands on your hosting.
The SSH Terminal is available from the LWS Starter to Performance plan, by going to "SSH Terminal" found in the "Software" section. Thanks to this Terminal, it is possible to modify and perform certain installations such as Composer.
By default, the Terminal's PHP version is the latest version available. You can view the version by going there and typing the following command:
php -vHowever, if needed, it is possible to change the PHP version to one of those available on the Terminal, from PHP 5.6 to PHP 8.1.
Log in to your LWS customer area and click on "Manage" located behind the relevant LWS plan

Click on the "SSH Terminal" tool found in the "Software" section.

In the SSH Terminal, you will need to create a new profile using the "touch" command.
touch ~/.profil You can replace "profil" with the name of your choice. Please note that for each command, it will be necessary to replace the name "profil" with the one you have defined.

Edit the "profil" file using the following command:
nano ~/.profil
Add the following code to the "./profil" file:
export PATH=/opt/php7.0/bin:$PATHWhen adding the code line, remember to change php7.0 to the desired PHP version. The available versions are as follows:

Press [CTRL] + X simultaneously, then "Y" and the "Enter" key to save the file.

Finally, load the .profil file using the following command:
source ~/.profil
You can check the PHP version used by the SSH Terminal using the following command:
php -v
Bonjour,
Si vous souhaitez avoir une aide sur votre problème Wordpress, je vous invite à ouvrir un ticket sur notre support technique.
Voici une documentation portant sur l'ouverture de ticket via votre espace client : https://aide.lws.fr/a/268
Bonjour,
Je vous invite à contacter directement notre support technique afin que nous puissions examiner plus en détail le problème auquel vous êtes confronté.
Il est possible que la version de PHP que vous avez sélectionnée ne soit pas installée sur votre espace d’hébergement, ce qui pourrait expliquer le dysfonctionnement.
N’hésitez pas à joindre une capture d’écran ou à préciser les étapes menant à l’erreur afin de faciliter l’analyse.
Je vous remercie pour votre attention et reste à votre disposition pour toute autre question ou complément d'information.
Cordialement, L'équipe LWS
Ask the LWS team and the community. Answers are published after moderation.