This function returns the contents of a PHP version's php.ini
file.
Note:
This document only applies to systems that run EasyApache 4.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ php_ini_get_content \ version='ea-php74'
{- "data": {
- "content": "display_errors; Default Value: On; Development Value: On; Production Value: Off;"
}, - "metadata": {
- "command": "php_ini_get_content",
- "reason": "Ok",
- "result": 1,
- "version": 1
}
}