docker-php-1.0

Docker image to run PHP 1.0 via CGI on Apache 2.4

MIT License

Stars
5

Docker PHP 1.0

This image is based on the official Apache 2.4 image and provides a custom CGI-based install of PHP 1.0

Usage

Build

# Via Makefile
make build
# Via Docker command
docker build -t devilbox/php-1.0 .

Run

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.0

Browse

After startup visit one of the following pages:

License

MIT License

Copyright (c) 2019 cytopia