Utilisation de PHP, composer et WP-CLI
YourVotre serverserveur isest fullyparfaitement equippedpréparé topour performeffectuer current PHPles opérations fromPHP thecourantes commandà line:partir de la ligne de commande :
PHP
PHP isest readyprêt toà use,l’emploi, itil canpeut beêtre invokedinvoqué via thela commande php. command. TheLa version installedinstallée onau 01/10/2023 isest 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
IfSi youvous wantsouhaitez toutiliser useune anotherautre version ofde PHP, youvous willles findtrouverez themdans inles thechemins followingsuivants paths:
:
/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.