Just an update and maybe an issue.
Worked out that it was a file in my root wp-config.php
If I am installing under a sub directory, why is it trying to use a file in the directory above it?
Doesn't make sense. It should only be reading the directory its in.