get_php_info
Checks PHP CLI, php-fpm, and php-cgi versions over SSH, verifies whether they run, and reports whether Apache loads mod_php to diagnose PHP runtime and configuration issues.
Instructions
PHP CLI, php-fpm and php-cgi versions, whether they run, and whether Apache loads mod_php.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>"
},
"name": "get_php_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| timeout | No | ||
| key_path | No | ||
| password_env | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||