HOANGHIEPBLOG I was referring to the original error from your first post
HOANGHIEPBLOG but there's an error saying composer requires PHP >= 8.1
If your default command-line PHP version is PHP 8.1, you will need to downgrade it. Your host might have a setting for it. If there are no settings, you should be able to switch it temporarily for each command by using a syntax like php7.4 composer [...]
. The exact syntax will wary by hosting, it might be php74
, php7
, and/or it might require a full path to the Composer executable.