Congrats! Yep ... editing wrong config.php file wouldn't do a thing for your issue. But ... now I have to ask was the config.php file you were editing in moodle code else where? And ... more importantly did you change back to it's orginal state?
In a 3.8.highest, there are the following config.php files:
[root@server moodle38]# find ./ -name config.php
./lib/editor/tinymce/plugins/spellchecker/config.php
./config.php
./mod/chat/gui_ajax/theme/bubble/config.php
./mod/chat/gui_ajax/theme/compact/config.php
./mod/chat/gui_ajax/theme/course_theme/config.php
./cache/classes/config.php
./theme/boost/config.php
./theme/classic/config.php
You might want to run same command in your code directory to re-call which config.php file you were editing!
'SoS', Ken