title: How to get the status of the production server symfony
body: <p>When starting the server locally I executed the command <code>symfony server:prod</code> using the <a href="https://symfony.com/doc/current/setup/symfony_server.html" rel="nofollow noreferrer">Symfony Local Web Server</a> which gives me to understand that I changed the state of the server environment to production.</p>
  <p>Since then, each time I run the local server, it launches in <code>prod</code> environment even if I define a <code>APP_ENV=dev</code> environment variable.</p>
  <p>How can I switch back to the environment defined in my <code>.env</code> file?</p>