Query: php_ini_loaded_file
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PHP_INI_LOADED_FILE(3) 1 PHP_INI_LOADED_FILE(3) php_ini_loaded_file - Retrieve a path to the loaded php.ini fileSYNOPSISstring php_ini_loaded_file (void )DESCRIPTIONCheck if a php.ini file is loaded, and retrieve its path.PARAMETERSThis function has no parameters.RETURN VALUESThe loaded php.ini path, or FALSE if one is not loaded.EXAMPLESExample #1 php_ini_loaded_file(3) example <?php $inipath = php_ini_loaded_file(); if ($inipath) { echo 'Loaded php.ini: ' . $inipath; } else { echo 'A php.ini file is not loaded'; } ?> The above example will output something similar to: Loaded php.ini: /usr/local/php/php.iniSEE ALSOphp_ini_scanned_files(3), phpinfo(3), The configuration file. PHP Documentation Group PHP_INI_LOADED_FILE(3)
| Related Man Pages |
|---|
| php-config(1) - mojave |
| php-config(1) - centos |
| php-config5(1) - suse |
| phar.setstub(3) - php |
| phar.setmetadata(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Simple rules of the UNIX.COM forums: |
| UNIX.COM 2017 Year End Summary |
| Denial Of Service Attack Update |
| Please Welcome Nicki Paul to the Moderator Team! |