I just created a new Symfony 3.4 application. Per Symfony's docs, I can server my application using PHP's built-in web-server by running
php bin/console server:start
However -- this appears to run the application in development mode. This means exception printing is on, the developer toolbar shows up, etc.
Is there a way to use the built-in web server with Symfony's production mode? This isn't to serve an application to the public (which wouldn't be a good idea) but instead because I want to test an issue that may only crop up in production mode.
Yea, you specify the
app.phpon the url you enter in the browser, so something like thisOr
By default it will automatically use
app_dev.php