This function lists the php.ini
file paths for the user's home directory and virtual host document roots.
Note:
This document only applies to systems that run EasyApache 4 with MultiPHP enabled.
Important:
When you disable the WebServer role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ LangPHP \ php_ini_get_user_paths
{- "apiversion": 3,
- "func": "php_ini_get_user_paths",
- "module": "LangPHP",
- "result": {
- "data": {
- "paths": [
- {
- "account": "allthethings",
- "documentroot": "/home/allthethings/public_html",
- "homedir": "/home/allthethings/",
- "main_domain": 1,
- "path": "php.ini",
- "type": "vhost",
- "version": "ea-php72",
- "vhost": "clearly.com"
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}