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 GoPanel server to PHP 7.4
$ /go/defaultphp 7.4
To check the default PHP version on a GoPanel server
$ php -v
|
Related GoPanel commands
installphp
-
Install a Different PHP Version on GoPanel
listphp
-
List the Available PHP versions in a GoPanel server
multiphp
-
Manage PHP Versions Per Domain
removephp
-
Remove a PHP Version from GoPanel Server
|
At Your Service
Our team is on hand 24/7 to not only solve technical issues, but to offer the guidance and technical support you need to succeed online. Give us a ring.
|
|
|
© 2020 - 2025 GoPanel Inc., all rights reserved.
|
|