How to start a simple php server


Some times you just want to install php and start coding simple and fast. if you want to test how your php files would run, just start a simple php server as described below.

Start PHP server

You may select the port of your preference.

php -S localhost:8000

References

  1. Curso PHP 8 desde cero: Curso para principiantes + Aplicacion con Deploy