I move the website to another domain on the same server, by copying all files to the other domain's folder. When I visit the new domain the install.php appears. Trying to navigate to another page like /user/login redirects to the installer as well.
I don't think I need to change database settings because it's on the same server.
Any ideas why?