multiphp

Manage PHP Versions Per Domain

Syntax

multiphp <Domain> <PHP Version>

Examples

While changing the PHP version for a domain in GoPanel is most commonly done through the GoPanel MultiPHP Manager interface, you can 
do it via the command line if you have SSH access to your server (typically as root.

Here's how you can do it using the "multiphp" command (which requires root access):
$ /go/multiphp gopanel.org php84

To change the PHP version to 8.4 for all domains in GoPanel
$ /go/multiphp all php84

Related GoPanel commands

defaultphp - Change the Default PHP Version in CLI
installphp - Install a Different PHP Version on GoPanel
listphp - List the Available PHP versions in a GoPanel server
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.

+2 01006931666 Chat
© 2020 - 2025 GoPanel Inc., all rights reserved.