3

I used to think that the internal web server which SYMFONY uses is part of APACHE server, which runs with the following command:

$ php bin/console server:start

But as I turn off the Apache server on my PC (windows 10) the internal web server still producing without any problems, so is it that the internal web server has nothing to do with the Apache server or it's something unusual?

2 Answers 2

6

PHP provides a standalone built-in web server.

You can try it by running php -S localhost:3000 -t web at the root directory of your project then browsing http://localhost:3000/app_dev.php.

All commands that are part of the server:* namespace are related to the PHP built-in server.

For more informations, look at the command directly.

Sign up to request clarification or add additional context in comments.

Comments

0

it is using PHP build in server

1 Comment

Take the time to write clean answers give more benefits on the long term.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.