GoAdmio
← All commands
COMMAND

defaultphp

Change the Default PHP Version in CLI

Syntax

defaultphp <PHP Version>

Examples

To change the default PHP version used in the command-line interface (CLI) on a GoAdmio server to PHP 7.4
$ /go/defaultphp 7.4

To check the default PHP version on a GoAdmio server
$ php -v

Related Commands

↑