This image is based on the official Apache 2.4 image and provides a custom CGI-based install of PHP 1.99s
# Via Makefile
make build# Via Docker command
docker build -t devilbox/php-1.99s .The below listed run commands will mount the bundled www/ directory which contains a few examples.
# Via Makefile
make run# Via Docker command
docker run --rm \
-p 80:80 \
-v $(pwd)/www:/usr/local/apache2/htdocs \
devilbox/php-1.99sAfter startup visit one of the following pages:
- http://localhost/
- http://localhost/phpinfo.php
- http://localhost/hello-world.php
Copyright (c) 2019 cytopia