Utilisation de PHP, composer et WP-CLI
Votre serveur est parfaitement préparé pour effectuer les opérations PHP courantes à partir de la ligne de commande :
PHP
PHP est prêt à l’emploi, il peut être invoqué via la commande php. La version installée au 01/10/2023 est la 8.1.
> php -v
PHP 8.1.25 (cli) (built: Oct 27 2023 11:17:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.25, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
with Zend OPcache v8.1.25, Copyright (c), by Zend Technologies
Si vous souhaitez utiliser une autre version de PHP, vous les trouverez dans les chemins suivants :
/opt/plesk/php/8.0/bin/php
/opt/plesk/php/8.1/bin/php
/opt/plesk/php/8.2/bin/php
Please note that available PHP versions on Hosterra servers evolve over time. We systematically remove any old version that is no longer being maintained for security by The PHP Group. We add any new version as soon as it is available.
Composer
Composer is also ready to use via the composer command.
> composer -V
Composer version 2.6.5 2023-10-06 10:11:52
Note that the composer version available on Hosterra servers is always the most recent version.
WP-CLI
WP-CLI is also ready to use via the wp command.
> wp cli version
WP-CLI 2.9.0
Note that the version of WP-CLI available on Hosterra servers is always the most recent version.