Find best webhosting in chennai

Location

Chennai

Working Hours

09:00 AM to 07:00 PM ( Mon - Sat )

Phone Number

(+91) 9884800300

Manage PHP versions on the command line in simple steps

Manage PHP versions in SSH using command line is easy way. Below the steps described how to do.

You can use the following API calls via the command line to manage MultiPHP.

Manage PHP versions

Get the available PHP versions

whmapi1 php_get_installed_versions

Set the default PHP version for the server

whmapi1 php_set_system_default_version version=ea-php70

Set the PHP version for a domain

whmapi1 php_set_vhost_versions vhost-0=example.tld version=ea-php74

Get the PHP version for all domains

whmapi1 php_get_vhost_versions