A Docker image that provides the usage for PHP built-in server.
99
A Docker image that provides the usage for PHP built-in server.
docker run -ti \
-v $(pwd):/code \
-w /code \
-p 8080:8080 \
devdrops/php-server:latest \
php -S 0.0.0.0:8080
http://0.0.0.0:8080/ on the host machine.Content type
Image
Digest
Size
140.4 MB
Last updated
over 7 years ago
docker pull devdrops/php-server