setPhpIniEntries
Callable
Parameters
php: UniversalPHP
The PHP instance.
entries: Record<string, unknown>
The entries to write to the ini file.
path: string = PHP_INI_PATH
The ini file to rewrite. Defaults to the php.ini file.
Returns Promise<void>
The PHP instance.
The entries to write to the ini file.
The ini file to rewrite. Defaults to the php.ini file.
Rewrites an ini file with the given entries.
PHP reads
php.inifirst, then every.inifile inPHP_INI_SCAN_DIR, and the last value read wins. Passpathto write to one of those files, such as the.inifile an extension ships. Entries already in the file are kept.