diff --git a/frontend.rst b/frontend.rst index ab99262c2e7..1545c8acaaf 100644 --- a/frontend.rst +++ b/frontend.rst @@ -109,6 +109,6 @@ Other Front-End Articles .. _`Webpack`: https://webpack.js.org/ .. _`Webpacker`: https://github.com/rails/webpacker .. _`Mix`: https://laravel.com/docs/mix -.. _`Symfony`: http://symfony.com/ +.. _`Symfony`: https://symfony.com/ .. _`Full API`: https://github.com/symfony/webpack-encore/blob/master/index.js .. _`Webpack Encore screencast series`: https://symfonycasts.com/screencast/webpack-encore diff --git a/setup/built_in_web_server.rst b/setup/built_in_web_server.rst index 2837c004bd0..bb0f563f0ee 100644 --- a/setup/built_in_web_server.rst +++ b/setup/built_in_web_server.rst @@ -4,16 +4,20 @@ How to Use PHP's built-in Web Server ==================================== +.. deprecated:: 4.4 + + This article explains how to use the WebServerBundle to run Symfony + applications on your local computer. However, that bundle is deprecated + since Symfony 4.4 and will be removed in Symfony 5.0. + + Instead of using WebServerBundle, the preferred way to run your Symfony + applications locally is to use the :doc:`Symfony Local Web Server `. + The PHP CLI SAPI comes with a `built-in web server`_. It can be used to run your PHP applications locally during development, for testing or for application demonstrations. This way, you don't have to bother configuring a full-featured web server such as :doc:`Apache or Nginx `. -.. tip:: - - The preferred way to develop your Symfony application is to use - :doc:`Symfony Local Web Server `. - .. caution:: The built-in web server is meant to be run in a controlled environment.