Bug #81253 [Opn->Dup]: unexpected result of setting env[LC_MESSAGES] in php-fpm pool config

From: Date: Sun, 28 Nov 2021 20:44:50 +0000
Subject: Bug #81253 [Opn->Dup]: unexpected result of setting env[LC_MESSAGES] in php-fpm pool config
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238023@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81253&edit=1 ID: 81253 Updated by: bukka@php.net Reported by: php at wb9 dot se Summary: unexpected result of setting env[LC_MESSAGES] in php-fpm pool config -Status: Open +Status: Duplicate Type: Bug Package: FPM related Operating System: FreeBSD PHP Version: 7.4.21 Block user comment: N Private report: N New Comment: This is because the environment variables are not currently supported in the FPM configuration. This is a duplicate of https://bugs.php.net/bug.php?id=76798 Previous Comments: ------------------------------------------------------------------------ [2021-08-01 06:48:45] dc dot link at yahoo dot fr Is this bug occuring with PHP 8 ? ------------------------------------------------------------------------ [2021-07-12 17:08:57] php at wb9 dot se Description: ------------ Tested on FreeBSD 13 with PHP Version 7.4.21 from ports. Configure line: './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-libxml' '--with-password-argon2=/usr/local' '--program-prefix=' '--enable-mysqlnd' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--enable-embed' '--enable-dtrace' '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd13.0' 'build_alias=amd64-portbld-freebsd13.0' 'PKG_CONFIG=pkgconf' 'CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'CPP=cpp' 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' Setting env[LC_MESSAGES] = C.UTF-8 in the www php-fpm pool config sets results in "6" => "C.UTF8" in the $_SERVER array. Test script: --------------- phpinfo(); Expected result: ---------------- $_SERVER["LC_MESSAGES"] => "C.UTF-8" Actual result: -------------- $_SERVER["6"] => "C.UTF8" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81253&edit=1

« previous php.bugs (#238023) next »