Skip to main content

set_ini

Function set_ini 

Source
pub fn set_ini(settings: &[(String, String)]) -> Result<(), String>
Expand description

INI settings for every request of this process, as php.ini would give them (so PHP_INI_PERDIR and PHP_INI_SYSTEM settings such as upload_max_filesize apply, which ini_set() cannot change). Call before Php::boot, once. A key or value with a quote, a newline or a NUL is refused.