Sign inSign up

xiejindou/php-ultimate

By xiejindou

Updated almost 4 years ago

Image
0

157

xiejindou/php-ultimate repository overview

This image contains PHP, Apache, and Redis. The PHP version is 7.4.21. PHP extensions include redis and pcntl.

How to use:

#!/bin/bash

projectName=demo
projectPath=$(cd `dirname $0`; pwd)
mirror=xiejindou/php-ultimate:v4

docker stop $projectName && docker rm $projectName
docker run --name $projectName \
-p 80:80 \
-v ${projectPath}/${projectName}:/var/www/html \
-d ${mirror}

Note: In the test environment, you can enable the redis service in the image. If redis_start=true, the redis service is enabled for the image. Enable it with the following statement:

-e REDIS_PORT=6789 \
-e REDIS_START=true \

Tag summary

Content type

Image

Digest

sha256:0d586d5cc

Size

258.1 MB

Last updated

almost 4 years ago

docker pull xiejindou/php-ultimate:v5