List configuration files loaded by PHP
9 May 2022 (Updated 9 May 2022)
List config files used by the PHP CLI
Run from the command-line:
Example output:
List config files used by the web server process (e.g., PHP-FPM)
Call phpinfo()
in a .php
file that’s served on a web page and look for the following values:
Loaded Configuration file
Additional .ini files parsed

Tagged:
PHP
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment