Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 9 additions & 5 deletions setup/built_in_web_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 </setup/symfony_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 </setup/web_server_configuration>`.

.. tip::

The preferred way to develop your Symfony application is to use
:doc:`Symfony Local Web Server </setup/symfony_server>`.

.. caution::

The built-in web server is meant to be run in a controlled environment.
Expand Down