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 LWS Panel's Terminal tool allows you tohave an SSH shell directly on your web hosting, via your web browser while connected to your customer area, without having an SSH client like Putty.
It's a handy tool if you need to run commands on your hosting.
The SSH Terminal is available from the LWS Starter to Performance packages, by going to"SSH Terminal" in the"Software" section. You can use this terminal to modify and install certain applications such as Composer.
By default, the PHP version of the Terminal is 8.0. You can view the version by going to it and typing the following command:
php -v
However, it is possible, if necessary, to change the PHP version to one of those available on the Terminal, from PHP 5.6 to PHP 8.1.
Log on to your LWS customer area and click on"Manage" behind the LWS package concerned.
Click on the"SSH Terminal" tool in the"Software" section.
On the SSH Terminal, you will need to create a new profile using the"touch" command.
touch ~/.profile
You can replace"profile" with the desired name. Note that for each command, you will need to replace the name"profile" with the name you have defined.
Edit the"profile" file using the following command:
nano ~/.profil
Add the following code to the "./profile" file:
export PATH=/opt/php7.0/bin:$PATH
When adding the line of code, don't forget to change php7.0 to the PHP version you want. The following versions are available:
Simultaneously press [CTRL] + X 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)
4mn reading
How can I use GIT with the Web terminal on my LWS shared hosting?
0mn reading
What can I do on my WordPress site using the Web Terminal?
0mn 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