PHP Config File

Hello,

We are working with RedHat. We are having issues finding our PHP config file. Everywhere says to locate the config.php. We have a PHP.ini but no config.php. This does not exist. Do we need to create one?

php.ini would be in the web server configuration. You should look for the config.php in the LibreNMS installed files. The default is /opt/librenms/config.php.

If you’re using the docker container there are some notes on configuration here:

Also, there seems to be some movement toward using ‘lnms config:set’ instead of modifying the config.php file. Take a look at the documentation here: Configuration Docs - LibreNMS Docs

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.