--allow-to-run-as-root stopped working in shinsenter/php:8.2-fpm
#301
Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
|
@stefanpejcic BTW, could you try again by removing the services:
php-fpm-8.2:
image: shinsenter/php:8.2-fpm
restart: unless-stopped
environment:
- APP_USER=root
- APP_GROUP=root
- APP_UID=${USER_ID:-0}
- APP_GID=${USER_ID:-0}
- ENABLE_TUNING_FPM=1Or just try running services:
php-fpm-8.2:
image: shinsenter/php:8.2-fpm
restart: unless-stopped
environment:
- APP_USER=root
- APP_GROUP=root
- APP_UID=${USER_ID:-0}
- APP_GID=${USER_ID:-0}
- ENABLE_TUNING_FPM=1
command: php-fpm |
Beta Was this translation helpful? Give feedback.
-
|
The Alpine version also doesn't seem to have any issues.
|
Beta Was this translation helpful? Give feedback.
-
|
thanks, only when using without and with:
|
Beta Was this translation helpful? Give feedback.
-
|
Glad to hear it's been resolved! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
noticed that on a fresh server, image
shinsenter/php:8.2-fpmno longer accepts root:root and fails to start:even with the
--allow-to-run-as-rootflag:For an older version of the same tag (image from 2025-05-07), this is still working:
that image:
Has anything changed in the syntax or is the flag removed?
Beta Was this translation helpful? Give feedback.
All reactions