class IniHelper (View source)

Provides ini file location functions that work with and without a restart.

When the process has restarted it uses a tmp ini and stores the original ini locations in an environment variable.

Methods

static array
getAll()

Returns an array of php.ini locations with at least one entry

static string
getMessage()

Describes the location of the loaded php.ini file(s)

Details

static array getAll()

Returns an array of php.ini locations with at least one entry

The equivalent of calling php_ini_loaded_file then php_ini_scanned_files. The loaded ini location is the first entry and may be empty.

Return Value

array

static string getMessage()

Describes the location of the loaded php.ini file(s)

Return Value

string