PHP 5 >= 5.2.4, PHP 7, PHP 8
php_ini_loaded_file - Retrieve a path to the loaded php.ini file
Code Examples

php_ini_loaded_file( ): string|false

Check if a php.ini file is loaded, and retrieve its path.


This function has no parameters.

Return Values

The loaded php.ini path, or false if one is not loaded.

Related Functions

Example of php_ini_loaded_file

Show all examples for php_ini_loaded_file

PHP Version: