Updating Composer Version (Firstserv)
To ensure compatibility with modern applications and frameworks, Firstserv has upgraded the default Composer version on our servers to Composer v2.
To avoid disruption for existing users relying on Composer v1, we have implemented a setup that allows both versions to coexist. By default, accounts using Composer v1 will continue to do so via a configured alias.
Switching to Composer v2
If you would like to move from Composer v1 to Composer v2, you can do so by removing the Composer v1 alias from your environment.
Using SSH, run the following command:
This command removes the custom Composer v1 alias, allowing your account to use the default system version, which is Composer v2.
Important Notes
- After running the command, you must restart your SSH session for the change to take effect
- Once updated, all
composercommands will use Composer v2 by default
Enabling SSH Access
If you do not currently have SSH access enabled on your hosting account, you will need to enable it before proceeding. Please refer to our dedicated guide for step-by-step instructions.
If you need assistance switching versions or enabling SSH, the Firstserv support team is always available to help.
