Issue Composer Different Versions

WebHostingAce

Silver Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
Plesk Obsidian 18.0.66 Update #2 Web Admin Se Edition
I am facing an issue with a newly installed server.

If I run the following command:

Code:
$/opt/plesk/php/8.3/bin/php /usr/lib64/plesk-9.0/composer.phar

It returns Composer version 2.8.4.

However, within a subscription with /bin/bash and PHP 8.3, running:

Code:
$composer

returns the version 2.2.5 version.

I have many similar setups on other servers, and none of them are experiencing this issue.
 
Back
Top