This function sets the value of a PHP version's directives.
Note:
This document only applies to systems that run EasyApache 4.
Important:
When you disable the Web Server role , the system disables this function.
whmapi1 --output=jsonpretty \ php_ini_set_directives \ directive='allow_url_fopen:0' \ version='ea-php72'
{- "data": { },
- "metadata": {
- "command": "php_ini_set_directives",
- "reason": "Ok",
- "result": 1,
- "version": 1
}
}