How to enforce the php version used by composer? (PHP 5.6 – 8.0)

How to enforce the php version used by composer? (PHP 5.6 – 8.2)

On servers, you can use php (and programs that use php, eg composer) in the appropriate version of php - from 5.6 to 8.2. By default, PHP is run in the version that is the main (default) on a given server (on the new servers the default version is PHP 8.2).

Of course, you can also run any version of PHP with ssh - we have prepared a guide on how to do it: How to install WP-cli

WordPress hosting

Speed and performance: full SSD, http/2, multiple cache methods, free data migration, free SSL certificates

Joomla! hosting

Speed and performance: high I/O, a lot of memory, full SSD, http/2, free SSL certificates, technical support

PrestaShop hosting

Security and performance: full separation, anti-exploit technology, full SSD, http/2, free SSL certificates

Dedicated servers

Wherever high computing power is required, you can choose from our dedicated servers in our own server room located in Central Europe.

VPS servers

When you need to configure an operating system on our hosting platform, it's a good idea to choose your own VPS with cPanel and root access.

Domains registration

Several hundred types of domains from all around the world can be registered at Smarthost.eu. Our prices are affordable for everyone.

Cookies settings

Your current state

Show details