A lightweight image for php applications based on PHP Docker Official Image.
1.3K
A lightweight image for php applications based on PHP Docker Official Image.
See the official documentation for installing/configuring php dependencies.
To view available images, click here.
To pull latest image (PHP 7.3), run:
docker pull php4all/php:7.3
To pull other image (PHP 7.2), add the required version of php:
docker pull php4all/php:7.2
Execute the command:
docker run -d -p 8080:80 php4all/php
And access in your browser:
The environment variables below can be changed:
docker run -d \
-e PGID=1000 \
-e PUID=1000 \
-e GROUP_NAME=docker \
-e USER_NAME=docker \
-e NGINX_SERVER_NAME=example-app.com \
-e NGINX_DOCUMENT_ROOT=/var/www/html/public \
-e TIMEZONE=America/Sao_Paulo \
php4all/php
I hope you enjoy it.
Content type
Image
Digest
Size
58.2 MB
Last updated
almost 7 years ago
docker pull php4all/php