add PHP instructions to the README

This commit is contained in:
2024-08-10 17:19:16 +02:00
committed by GitHub
parent 7a0ee47c25
commit 9803ba582e
+7
View File
@@ -17,3 +17,10 @@ busybox httpd -p 1337 -f
```
_(Note: Alpine Linux now splits Busybox into multiple packages: `apk add busybox-extras`)_
## PHP
PHP has a built-in server which can come in handy. For this example there is an `index.php` with `index.sh.html` compatible instructions but PHP is quite easy to write so it's better without this extra hoop.
```sh
php -S 0.0.0.0:1337
```