I installed WordPress and noticed the wp config php missing, I tried commands like updatedb followed by locate wp config.php.
It turns out to be a permissions issue as the htdocs folder is owned by daemon:daemon.
Solution – wp-config php missing
I used the sudo command and found the missing wp config.php file
sudo locate wp-config.php