Confirmed – W3TC is overwriting db.php when database caching is enabled and deleting db.php when database caching is disabled. I found a solution that seems to work, here:
Thanks Kurt, I did disable the database cache in W3TC and it does indeed prevent the file from being written. However, even with this function disabled, any file named db.php that is present in the wp-content folder is removed.
I tried disabling database caching in W3TC and it no longer overwrites the file but unfortunately it now removes the file completely without replacing it. Anything else I might try?
No, never been an issue prior to today’s update – BPS had always been running fine previously and continues to do so on other sites I have on the same server, which I have not yet updated.