content

Run PHP web server with Nix

To run a PHP server for testing purposes with Nix, run the following command: 1

cd path/to/website/
nix shell nixpkgs#php
php -S localhost:8000

meta

tags: nix, php

created:

commit: 2a6c26f2