Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
253 views
in Technique[技术] by (71.8m points)

Fetch php-fpm via docker failed

During creating LAMP server getting problems. I'm trying to make a direct request to php-fpm, but getting no result:

wget localhost:9000/index.php
--2021-01-12 10:20:19--  http://localhost:9000/index.php
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:9000... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

docker ps
CONTAINER ID   IMAGE                 COMMAND                  CREATED              STATUS              PORTS                    NAMES
f72d94397adc   rabbit_consumer-app   "docker-php-entrypoi…"   About a minute ago   Up About a minute   0.0.0.0:9000->9000/tcp   rabbit-consumer

docker logs f72d94397adc
[12-Jan-2021 08:19:22] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[12-Jan-2021 08:19:22] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[12-Jan-2021 08:19:22] NOTICE: fpm is running, pid 1
[12-Jan-2021 08:19:22] NOTICE: ready to handle connections

docker-compose.yml: https://gist.github.com/halimonalexander/3b3f4e97821d19d69367291d70ca2533 Dockerfile: https://gist.github.com/halimonalexander/6f197d092f4f2cd47b94a3b07595f49b


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...