Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

differences between fpm config in -ubuntu and alpine version #79

Open
DracoBlue opened this issue Sep 19, 2024 · 1 comment
Open

differences between fpm config in -ubuntu and alpine version #79

DracoBlue opened this issue Sep 19, 2024 · 1 comment

Comments

@DracoBlue
Copy link
Contributor

docker run --rm -it ghcr.io/endava/docker-php:8.1.27-fpm bash -c 'cat /etc/php81/php-fpm.conf /etc/php81/php-fpm.d/www.conf' > 8.1.27-alpine.txt
docker run --user root --rm -it ghcr.io/endava/docker-php:8.1.29-ubuntu-fpm bash -c 'cat /etc/php/8.1/fpm/php-fpm.conf /etc/php/8.1/fpm/pool.d/www.conf' > 8.1.29.ubuntu.txt

$ diff 8.1.27-alpine.txt 8.1.29.ubuntu.txt

17c17,19
< ;pid = run/php-fpm81.pid
---
> ; Warning: if you change the value here, you need to modify systemd
> ; service PIDFile= setting to match the value here.
> pid = /run/php/php8.1-fpm.pid
23c25
< ; Default Value: log/php81/error.log
---
> ; Default Value: log/php-fpm.log
36,37c38,39
< ; Default Value: php-fpm81
< ;syslog.ident = php-fpm81
---
> ; Default Value: php-fpm
> ;syslog.ident = php-fpm
143c145
< include=/etc/php81/php-fpm.d/*.conf
---
> include=/etc/php/8.1/fpm/pool.d/*.conf
196,197c198,199
< ;listen.owner = nobody
< ;listen.group = www-data
---
> listen.owner = www-data
> listen.group = www-data
390c392
< ;       It's available in: /usr/share/php81/fpm/status.html
---
> ;       It's available in: /usr/share/php/8.1/fpm/status.html
433c435
< ;access.log = log/php81/$pool.access.log
---
> ;access.log = log/$pool.access.log
497c499
< ;slowlog = log/php81/$pool.slow.log
---
> ;slowlog = log/$pool.log.slow
610c612
< ;php_admin_value[error_log] = /var/log/php81/$pool.error.log
---
> ;php_admin_value[error_log] = /var/log/fpm-php.www.log
@DracoBlue
Copy link
Contributor Author

so expect listen owner for the pod we don't have any differences. I guess we can keep it like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant