Sign inSign up

steeze/php52-nginx

By steeze

•Updated over 7 years ago

php5.2.17 with php-fpm and nginx

Image
1

459

steeze/php52-nginx repository overview

⁠The image is for old php version of php5.2.17, include php-fpm and nginx.
⁠Intall config

php install path: /usr/local/php52
nginx.conf: /etc/nginx/nginx.conf
www public dir: /var/www/html
start all service command: /user/local/bin/start

⁠Usage:

You can use environment variable WEBROOT specify www public dir.
Start from shell command:

mkdir -p /root/www/public
docker run -d -it -v /root/www/public:/var/www/html --rm  -p 80:80 steeze/php52-nginx start

User Dockerfile:

FROM steeze/php52-nginx
ADD /root/www/public /var/www/html
EXPOSE 80
CMD ["start"]

Tag summary

Content type

Image

Digest

Size

278.1 MB

Last updated

over 7 years ago

docker pull steeze/php52-nginx