Answer the question
In order to leave comments, you need to log in
Why does PHP require Apache or Nginx to run in a docker container?
Hello everyone,
all tutorials on dockerizing php require you to run it from an image that contains Apache or Nginx, for example, the line from the Dockerfile
FROM php:7.1.8-apache
what's the point of using Apache or Nginx containing an image? Isn't it possible to work with a container containing only php?
thanks, Vadim
Answer the question
In order to leave comments, you need to log in
what's the point of using Apache or Nginx containing the image? Isn't it possible to work with a container containing only php?
FROM php:7.1-fpm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question