Webserver¶
A web server is a computer system or software application that delivers web pages to users over the internet. It handles requests from clients, typically web browsers and responds by serving content like HTML pages, images, videos, or other files.
PHP is able to be integrated in many webservers: nginx, Apache, Caddy, lighthttpd, Litespeed,…
PHP is able to run in server mode. In command line, use the -S option.
php -S localhost:8000 index.php
See also Built-in web server and Installation and Configuration.
Related : Command Line Interface (CLI), Application Server, Read Eval Print Loop (REPL), Server, World Wide Web (WWW), .htaccess, Linux Apache Mysql PHP (LAMP), Linux Nginx Mysql PHP (LEMP), Search Engine Optimization (SEO), Web Application, Web-spider