With older versions of Drupal you could not run Drupal without Apache or Nginx to perform the URL rewrites needed to use the application with clean URLs.
New versions of Drupal (8+) come with a
.ht.router.php file that is specifically used to run local development instances with just the built-in PHP web server. No Apache, no Wamp, no Mamp, no Xampp. Just the built-in PHP server.
In addition, you don't have to use MySQL an setup a separate database. Drupal supports SQLite3 so can completely skip any MySQL setup.
This means you can run a local Drupal development environment with nothing but PHP.
- No Apache
- No MySQL
- No Wamp,Xampp,Mamp
- Just PHP
Following the method in this guide works on Windows, Mac, and Linux equally.