-
Notifications
You must be signed in to change notification settings - Fork 79
php-fpm.conf is missing #19
Comments
Hello, thanks for reporting this issue. I've just did the following and it seems to work ok: mkdir test-project && cd test-project
echo "FROM phpearth/php:7.1-nginx\nRUN apk add --no-cache php7.1-pdo_pgsql" > Dockerfile
docker build -t test/project -f Dockerfile .
docker run -it --rm -p 8080:80 --name my_project_container test/project
# in a new terminal
docker exec -it my_project_container sh
ls /etc/php/7.1 and everything is there. Yes? |
Version of docker and host? |
|
@sacesare I think that you have mounted directory /etc/php/7.1/ from your filesystem. double check this! |
Thank you,guys, it seems docker storage issue anyway. I've to check it on another docker version and machine. |
Interesting observation, if I run "apk add --no-cache php7.1-*" inside of running base image: |
@sacesare Weird, I'm using the apk repo on top of alpine and I haven't seen this issue, if I install something the files stay the same default, I can copy them out modify and add them again (switching FPM socket mode for example). |
After install of any extension like "php7.1-pdo_pgsql", docker delete /etc/php/7.1/*.conf files, so fpm not work anymore.
Sample Dockerfile:
FROM phpearth/php:7.1-nginx
RUN apk add --no-cache php7.1-pdo_pgsql
Docker version: 18.03.1.ce-1.el7.centos
Linux: centos 7
The text was updated successfully, but these errors were encountered: