In DockerHub's official PHP image, there are three things (as shown in): cli, fpm, and zts. What is the relationship between them? If you want to use php, do all three images need to be downloaded at the same time? Hub.docker.com _ php
The official PHP image of Docker Hub contains three items, cli, fpm, and zts, as shown in figure. What is the relationship between them? If you want to use php, do all three images need to be downloaded at the same time?
Https://hub.docker.com/_/php/
Reply content:
The official PHP image of Docker Hub contains three items, cli, fpm, and zts, as shown in figure. What is the relationship between them? If you want to use php, do all three images need to be downloaded at the same time?
Https://hub.docker.com/_/php/
This is all about Baidu.
The cli version is the command line version;
The zts version is a thread-safe version;
Fpm is a version integrated with FastCGI Manager (fpm). This version is generally used in Nginx and PHP integration.
Reference knowledge about fpm: https://segmentfault.com/q/1010000000256...
If you build a website, you can use fpm.