|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-10-25 20:06 UTC] Andreas dot Ley at kit dot edu
Description: ------------ When configuring the FPM, a config option like user = 12345 is valid, but listen.owner = 12345 provokes a 'cannot get uid for user' error message The code to be fixed is in sapi/fpm/fpm/fpm_unix.c where fpm_unix_conf_wp() has a check for a numerical value but fpm_unix_resolve_socket_premissions() [which looks like a typo to me] hasn't. I added a simple patch to port this functionality to fpm_unix_resolve_socket_premissions(); if this will be accepted, a similar change might be favorable for the acl options, too. Background: This helps to avoid getpwnam() in situations with a not-so-stable LDAP server... PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
The following pull request has been associated: Patch Name: Allow numeric [UG]ID in FPM listen.{owner,group} On GitHub: https://github.com/php/php-src/pull/5148 Patch: https://github.com/php/php-src/pull/5148.patch