We are trying to change the database settings for a long-standing drupal 6 site, but are having trouble finding the correct settings.php file:
$ cd /var/www/vhosts/mysite $ find sites/ -name "settings.php*" sites/default/settings.php.save sites/default/settings.php.mod2 sites/mobile.mysite.com/settings.php sites/mysite.com/settings.php sites/mysite.com/settings.php.pre_handoff_unedited sites/mysite.com/settings.php~ sites/mysite.com/settings.php.20131022
We renamed the two most likely suspects, but the sites continues to run smoothly:
I also looked for a sites.php that might be overriding settings.php, but we don't seem to have one of those either:
$ find sites/ -name "*sites.php*" $
Which means I can't find a sites.php or settings.php anywhere in the web directory that seems to control drupal.
We have nginx set up to receive http requests and mysite.com requests are forwarded to apache. Could that be relevant? Where else I might look for the drupal config settings?