Bahsettiğim kısım:
Your .env file should not be committed to your application's source control, since each developer / server using your application could require a different environment configuration. Furthermore, this would be a security risk in the event an intruder gain access to your source control repository, since any sensitive credentials would get exposed.
Gerektiği yerde google translate kullanıyorum, ingilizcem maalesef çok iyi değil.

Örnek birkaç site .env dosyası ;
https:// www.novo chem.net/.env
http:// ww.pousada anjos.com.br/.env
Mesajınıza verdiğim ilk yanıtta da yazdığım gibi hatalı sunucu yapılandırmaları bu soruna sebep olabiliyor. Bununla beraber bu siteleri incelerseniz config içindeki php dosyalara vs erişilemiyor.