LangPHP
PHP Settings
Return php.ini file paths
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.
get/LangPHP/php_ini_get_user_paths
Response
HTTP Request was successful.
Example response
{
"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"
}
]
},
"status": 1
}
}