Use the MultiPHP Manager API to manage multiple PHP's for domain.
The API response Setting saved successfully.
Name | Method | Value | Description | Required |
act | GET | text | The action specified to retrieve data after adding API Key. | Yes |
submitphp | GET | text | This Will trigger change php. | Yes |
domain_name(abc.com) | POST | text | Domain name to update PHP version for | Yes |
php_version_domain_name (php_version_abc.com) | POST | text | PHP version for Domain | Yes |
CURL PHP SDK
curl --insecure -d "domain.com=domain.com" -d "php_version_domain.com=php_version(php72)" -X POST "https://hostname:2003/index.php?api=json&act=multi_php&submitphp=apply&apiuser=user_name&apikey=pass_api_key"
Setting saved successfully.