Phpini_set changes the php. ini configuration function. You can use ini_set to quickly modify php. ini configuration settings, no need to open php. ini is enough, especially when you do not modify php on the VM. when ini is authorized, you will find that the function can be quickly modified using ini_set. ini configuration settings, no need to open php. ini is enough, especially when you do not modify php on the VM. the role of this function will be discovered when ini is authorized. let's look at several instances.
/Php Tutorial ini_set change php. ini configuration function
You can use ini_set to quickly modify php. ini configuration settings, no need to open php. ini is enough, especially when you do not modify php on the VM. the role of this function will be discovered when ini is authorized. let's look at several instances.
*/
// Ini_set has the ability to change php. ini settings. This function receives two parameters: the name of the configuration variable to be adjusted and the new value of the variable.
// For example, add maximum execution time when a script appears ):
$ Old_max_execution_time = ini_set ('max _ execution_time ', 120 );
Echo "old timeout is $ old_max_execution_time
";
$ Max_execution_time = ini_get ('max _ execution_time ');
Echo "new timeout is $ max_execution_time
";
Echo 'function sets supported in this install are:
';
$ Extensions = get_loaded_extensions ();
Foreach ($ extensions as $ each_ext)
{
Echo "$ each_ext
";
Echo'
';
$ Ext_funcs = get_extension_funcs ($ each_ext );
Foreach ($ ext_funcs as $ func)
{
Echo"
- $ Func
";
}
Echo'
';
}
?>
...