diff --git a/symfony/framework-bundle/3.3/post-install.txt b/symfony/framework-bundle/3.3/post-install.txt index 63d5e10c..e1bfdb05 100644 --- a/symfony/framework-bundle/3.3/post-install.txt +++ b/symfony/framework-bundle/3.3/post-install.txt @@ -5,10 +5,7 @@ * Run your application: 1. Change to the project directory 2. Create your code repository with the git init command - 3. Execute the php -S 127.0.0.1:8000 -t public public/index.php command - 4. Browse to the http://localhost:8000/ URL. - - Quit the server with CTRL-C. - Run composer require server --dev for a better web server. + 3. Run composer require server --dev to install the development web server, + or configure another supported web server https://symfony.com/doc/current/setup/web_server_configuration.html * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/3.3/public/index.php b/symfony/framework-bundle/3.3/public/index.php index 58849a31..5283b7ce 100644 --- a/symfony/framework-bundle/3.3/public/index.php +++ b/symfony/framework-bundle/3.3/public/index.php @@ -24,10 +24,6 @@ if ($debug) { Debug::enable(); } -if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) { - return false; -} - if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); } diff --git a/symfony/framework-bundle/4.2/post-install.txt b/symfony/framework-bundle/4.2/post-install.txt index 63d5e10c..e1bfdb05 100644 --- a/symfony/framework-bundle/4.2/post-install.txt +++ b/symfony/framework-bundle/4.2/post-install.txt @@ -5,10 +5,7 @@ * Run your application: 1. Change to the project directory 2. Create your code repository with the git init command - 3. Execute the php -S 127.0.0.1:8000 -t public public/index.php command - 4. Browse to the http://localhost:8000/ URL. - - Quit the server with CTRL-C. - Run composer require server --dev for a better web server. + 3. Run composer require server --dev to install the development web server, + or configure another supported web server https://symfony.com/doc/current/setup/web_server_configuration.html * Read the documentation at https://symfony.com/doc diff --git a/symfony/framework-bundle/4.2/public/index.php b/symfony/framework-bundle/4.2/public/index.php index 2a958d9b..bdcf5f4d 100644 --- a/symfony/framework-bundle/4.2/public/index.php +++ b/symfony/framework-bundle/4.2/public/index.php @@ -24,10 +24,6 @@ if ($debug) { Debug::enable(); } -if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) { - return false; -} - if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); }