EasyApache
EasyApache Settings
Return EasyApache 4 profiles
This function returns a list of all EasyApache 4 profiles and the packages that each profile provides.
Important:
When you disable the Web Server role, the system disables this function.
get/ea4_list_profiles
Response
HTTP Request was successful.
Example response
{
"data": {
"cpanel": [
{
"active": 1,
"desc": "The currently installed packages on the server.",
"name": "No PHP",
"pkgs": [
"ea-apache24",
"ea-php74"
],
"tags": [
"ea-apache24",
"ea-php74"
],
"validation_data": {
"not_on_server": [
"ea-apache24",
"ea-php74"
]
},
"version": "1.2"
}
],
"custom": [
{
"desc": "The currently installed packages on the server.",
"name": "No PHP",
"path": "default.json",
"pkgs": [
"ea-apache24",
"ea-php74"
],
"tags": [
"Apache 2.4",
"PHP 7.4"
],
"validation_data": {
"not_on_server": [
"ea-apache24",
"ea-php74"
]
},
"version": "1.2"
}
]
},
"metadata": {
"command": "ea4_list_profiles",
"reason": "OK",
"result": 1,
"version": 1
}
}