Home  >  Q&A  >  body text

phpstorm can't open the .env file. Have you experienced this before?

phpstorm can’t open the .env file. Have you experienced this before? It is normal to create .env, and it is normal to open .example.env in the tp6 directory, but it cannot be opened when creating a new .env or changing .example.env to an .env file.

  启明星Б.Нарса н 启明星Б.Нарса н1637 days ago1226

reply all(1)I'll reply

  • P粉669826249

    P粉6698262492023-10-24 09:45:25

    ctrl shift s to open the settings selection Editor -> FileTypes, select the text above and add .env below

    reply
    0
  • Cancelreply