Skip to content

Update page How to Use PHP's built-in Web Server for Symfony 3.3 #7919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jrysig opened this issue May 18, 2017 · 1 comment
Closed

Update page How to Use PHP's built-in Web Server for Symfony 3.3 #7919

jrysig opened this issue May 18, 2017 · 1 comment
Assignees
Labels
hasPR A Pull Request has already been submitted for this issue. WebServerBundle
Milestone

Comments

@jrysig
Copy link

jrysig commented May 18, 2017

http://symfony.com/doc/master/setup/built_in_web_server.html

Command php bin/console server:start --env=test doesn't work with Symfony 3.3.0-RC1, following error is displayed:

[Symfony\Component\Console\Exception\CommandNotFoundException] 
There are no commands defined in the "server" namespace.

The reason is a new version of AppKernel.php in Symfony Standard Edition - WebServerBundle is included only in 'dev' environment.

@xabbuh xabbuh added this to the 3.3 milestone May 22, 2017
@javiereguiluz javiereguiluz self-assigned this May 28, 2017
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label May 28, 2017
@xabbuh
Copy link
Member

xabbuh commented Jun 20, 2017

@JarJak But on that page we only execute the server:run command in the dev environment.

xabbuh added a commit that referenced this issue Jul 11, 2017
…reguiluz)

This PR was merged into the 2.7 branch.

Discussion
----------

Reworded the explanation about the --router option

This fixes #7919.

In addition to fixing the reported issue, I propose to reword this phrase because it's a bit difficult to understand: `Use the --router option in any other environment or to use another router script:`

Commits
-------

079e0e9 Reworded the explanation about the --router option
@xabbuh xabbuh closed this as completed Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. WebServerBundle
Projects
None yet
Development

No branches or pull requests

3 participants