PHP
Update PHP version's handler
This function sets a PHP version's handler.
Important:
When you disable the Web Server role, the system disables this function.
get/php_set_handler
Query parameters
handler'cgi' | 'suphp' | 'dso' | 'none' required
Example:suphp
An installed PHP handler.
- cgi
- suphp
- dso
- none
versionstring required
Example:ea-php70
An installed PHP version.
- ea-php54
- ea-php55
- ea-php56
- ea-php70
- ea-php71
- ea-php72
- inherit
- Any custom PHP package name.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "php_set_handler",
"reason": "OK",
"result": 1,
"version": 1
}
}