Forrest logo
back to the update-alternatives tool

update-alternatives:ai:3e48f

This command sets PHP 8.0 as the default PHP version for the command line.
$ update-alternatives --set php /usr/bin/php8.0
try on your machine

This command sets PHP 8.0 as the default PHP version for the command line.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to disable old php 7 fpm and activate php 8?
back to the update-alternatives tool