Rate this article :
5/5 | 1 opinion
This article was useful to you ?
Yes
No
Vous avez noté 0 étoile(s)
Sommaire
Procédure
The Terminal tool in the LWS Panel allows you to have a SSH shell directly on your web hosting, via your web browser while being logged into your client 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 plans, by going to "SSH Terminal" located in the "Software" section. Thanks to this Terminal, it is possible to modify and perform certain installations such as Composer.
By default, [ADDRESS] the Terminal's PHP version is the latest available version. You can view the version by going there and typing the following command:
php -v
However, it is possible, [PERSON_NAME], 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 client area and click on "Manage" located behind the relevant LWS plan

Click on the "SSH Terminal" tool located 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 desired name. Please note that for each command, it will be necessary to replace the name "profil" with the one you have chosen.

[PERSON_NAME] the "profil" file using the following command:
nano ~/.profil

Add the following code to the "./profil" file:
export PATH=/opt/php7.0/bin:$PATH
When 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

Rate this article :
5/5 | 1 opinion
This article was useful to you ?
Yes
No
1mn reading
How do I connect to the Web Terminal with LWS Panel? (ssh web console)
3mn reading
How can I use GIT with the Web terminal on my LWS shared hosting?
10mn reading
What can I do on my WordPress site using the Web Terminal?
10mn reading
How can I use the Web Terminal on my Prestashop site?
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