php -S 127.0.0.1:5555 -- OR -- php -S 127.0.0.1:5555 -t /path/to/document_root
PHP has a basic built-in webserver that can help you in some situations. You can start this webserver using
php -S hostname:port syntax.
The web server runs only one single-threaded process, so PHP applications will stall if a request is blocked.
URI requests are served from the current working directory where PHP was started unless the
-t option is used to specify an explicit document root.