frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Env vars set with the env subdirective in the php(_server) directive are not available to `getenv()`

Open SimJoSt opened this issue 6 months ago • 5 comments

What happened?

Working on a FrankenPHP docker image for Nextcloud, there is the environment variable front_controller_active that needs to be set, to mimick the behaviour of the default Nextcloud apache2 config:

SetEnv front_controller_active true";

Following the FrankenPHP docs, I set it with the env subdirective of the php_server directive:

:80 {
	root /var/www/html/

	php_server {
		try_files {path} index.php
		env front_controller_active true
	}
}

However, with getenv('front_controller_active') I cannot get it, while $_SERVER['front_controller_active'] works. Checking with phpinfo(), it seems that the environment variable set through the Caddyfile only gets set as a $_SERVER variable.

I also tried using the php directive instead of php_server, no luck.

Is this intended behaviour of FrankenPHP and the env subdirective, different from apache2 is handling this? Am I doing something wrong? Or did I stumble upon a bug?

Thank you so much for your work, for your help in advance and keep up the good work. I am excited to use FrankenPHP in more projects.

Build Type

Docker (Debian Bookworm)

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

PHP 8.3.22 - phpinfo()



PHP Version 8.3.22



System Linux 88a8d5f5984f 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 
Build Date Jun  6 2025 17:37:03 
Build System Linux - Docker 
Build Provider https://github.com/docker-library/php 
Configure Command  './configure'  '--build=x86_64-linux-gnu' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-option-checking=fatal' '--with-mhash' '--with-pic' '--enable-mbstring' '--enable-mysqlnd' '--with-password-argon2' '--with-sodium=shared' '--with-pdo-sqlite=/usr' '--with-sqlite3=/usr' '--with-curl' '--with-iconv' '--with-openssl' '--with-readline' '--with-zlib' '--enable-phpdbg' '--enable-phpdbg-readline' '--with-pear' '--with-libdir=lib/x86_64-linux-gnu' '--enable-embed' '--enable-zts' '--disable-zend-signals' 'build_alias=x86_64-linux-gnu' 
Server API FrankenPHP 
Virtual Directory Support enabled 
Configuration File (php.ini) Path /usr/local/etc/php 
Loaded Configuration File (none) 
Scan this dir for additional .ini files /usr/local/etc/php/conf.d 
Additional .ini files parsed /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini,
/usr/local/etc/php/conf.d/docker-php-ext-bcmath.ini,
/usr/local/etc/php/conf.d/docker-php-ext-exif.ini,
/usr/local/etc/php/conf.d/docker-php-ext-ftp.ini,
/usr/local/etc/php/conf.d/docker-php-ext-gd.ini,
/usr/local/etc/php/conf.d/docker-php-ext-gmp.ini,
/usr/local/etc/php/conf.d/docker-php-ext-igbinary.ini,
/usr/local/etc/php/conf.d/docker-php-ext-imagick.ini,
/usr/local/etc/php/conf.d/docker-php-ext-intl.ini,
/usr/local/etc/php/conf.d/docker-php-ext-ldap.ini,
/usr/local/etc/php/conf.d/docker-php-ext-memcached.ini,
/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini,
/usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini,
/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini,
/usr/local/etc/php/conf.d/docker-php-ext-pdo_pgsql.ini,
/usr/local/etc/php/conf.d/docker-php-ext-redis.ini,
/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini,
/usr/local/etc/php/conf.d/docker-php-ext-sysvsem.ini,
/usr/local/etc/php/conf.d/docker-php-ext-zip.ini,
/usr/local/etc/php/conf.d/nextcloud.ini,
/usr/local/etc/php/conf.d/opcache-recommended.ini,
/usr/local/etc/php/conf.d/redis-session.ini
 
PHP API 20230831 
PHP Extension 20230831 
Zend Extension 420230831 
Zend Extension Build API420230831,TS 
PHP Extension Build API20230831,TS 
Debug Build no 
Thread Safety enabled 
Thread API POSIX Threads 
Zend Signal Handling disabled 
Zend Memory Manager enabled 
Zend Multibyte Support provided by mbstring 
Zend Max Execution Timers enabled 
IPv6 Support enabled 
DTrace Support disabled 
Registered PHP Streamshttps, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transportstcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filterszlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk




This program makes use of the Zend Scripting Language Engine:Zend Engine v4.3.22, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.22, Copyright (c), by Zend Technologies



Configuration
apcu

APCu Support Enabled 
Version 5.1.24 
APCu Debugging Disabled 
MMAP Support Enabled 
MMAP File Mask no value 
Serialization Support php, igbinary 
Build Date Jun 21 2025 09:18:04 


DirectiveLocal ValueMaster Value
apc.coredump_unmapOffOff
apc.enable_cliOnOn
apc.enabledOnOn
apc.entries_hint40964096
apc.gc_ttl36003600
apc.mmap_file_maskno valueno value
apc.preload_pathno valueno value
apc.serializerigbinaryigbinary
apc.shm_segments11
apc.shm_size32M32M
apc.slam_defenseOffOff
apc.smart00
apc.ttl00
apc.use_request_timeOffOff

bcmath

BCMath support enabled 


DirectiveLocal ValueMaster Value
bcmath.scale00

Core

PHP Version 8.3.22 


DirectiveLocal ValueMaster Value
allow_url_fopenOnOn
allow_url_includeOffOff
arg_separator.input&&
arg_separator.output&&
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetUTF-8UTF-8
default_mimetypetext/htmltext/html
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOnOn
display_startup_errorsOnOn
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
enable_post_data_readingOnOn
error_append_stringno valueno value
error_logno valueno value
error_log_mode06440644
error_prepend_stringno valueno value
error_reportingno valueno value
expose_phpOnOn
extension_dir/usr/local/lib/php/extensions/no-debug-zts-20230831/usr/local/lib/php/extensions/no-debug-zts-20230831
fiber.stack_sizeno valueno value
file_uploadsOnOn
hard_timeout22
highlight.comment#FF8000#FF8000
highlight.default#0000BB#0000BB
highlight.html#000000#000000
highlight.keyword#007700#007700
highlight.string#DD0000#DD0000
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:/usr/local/lib/php.:/usr/local/lib/php
input_encodingno valueno value
internal_encodingno valueno value
log_errorsOffOff
mail.add_x_headerOffOff
mail.force_extra_parametersno valueno value
mail.logno valueno value
mail.mixed_lf_and_crlfOffOff
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time-1-1
max_input_vars10001000
max_multipart_body_parts-1-1
memory_limit1G1G
open_basedirno valueno value
output_buffering00
output_encodingno valueno value
output_handlerno valueno value
post_max_size512M512M
precision1414
realpath_cache_size4096K4096K
realpath_cache_ttl120120
register_argc_argvOnOn
report_memleaksOnOn
report_zend_debugOffOff
request_orderno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i
serialize_precision-1-1
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sys_temp_dirno valueno value
syslog.facilityLOG_USERLOG_USER
syslog.filterno-ctrlno-ctrl
syslog.identphpphp
unserialize_callback_funcno valueno value
upload_max_filesize512M512M
upload_tmp_dirno valueno value
user_dirno valueno value
user_ini.cache_ttl300300
user_ini.filename.user.ini.user.ini
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
zend.assertions11
zend.detect_unicodeOnOn
zend.enable_gcOnOn
zend.exception_ignore_argsOffOff
zend.exception_string_param_max_len1515
zend.max_allowed_stack_size00
zend.multibyteOffOff
zend.reserved_stack_size00
zend.script_encodingno valueno value

ctype

ctype functions enabled 

curl

cURL support enabled 
cURL Information 7.88.1 
Age 10 
Features 
AsynchDNS Yes 
CharConv No 
Debug No 
GSS-Negotiate No 
IDN Yes 
IPv6 Yes 
krb4 No 
Largefile Yes 
libz Yes 
NTLM Yes 
NTLMWB Yes 
SPNEGO Yes 
SSL Yes 
SSPI No 
TLS-SRP Yes 
HTTP2 Yes 
GSSAPI Yes 
KERBEROS5 Yes 
UNIX_SOCKETS Yes 
PSL Yes 
HTTPS_PROXY Yes 
MULTI_SSL No 
BROTLI Yes 
ALTSVC Yes 
HTTP3 No 
UNICODE No 
ZSTD Yes 
HSTS Yes 
GSASL No 
Protocols dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtmp, rtmpe, rtmps, rtmpt, rtmpte, rtmpts, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp 
Host x86_64-pc-linux-gnu 
SSL Version OpenSSL/3.0.16 
ZLib Version 1.2.13 
libSSH Version libssh2/1.10.0 


DirectiveLocal ValueMaster Value
curl.cainfono valueno value

date

date/time support enabled 
timelib version 2022.12 
"Olson" Timezone Database Version 2025.2 
Timezone Database internal 
Default timezone UTC 


DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.83333390.833333
date.sunset_zenith90.83333390.833333
date.timezoneUTCUTC

dom

DOM/XML enabled 
DOM/XML API Version 20031129 
libxml Version 2.9.14 
HTML Support enabled 
XPath Support enabled 
XPointer Support enabled 
Schema Support enabled 
RelaxNG Support enabled 

exif

EXIF Support enabled 
Supported EXIF Version 0220 
Supported filetypes JPEG, TIFF 
Multibyte decoding support using mbstring enabled 
Extended EXIF tag formats Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson 


DirectiveLocal ValueMaster Value
exif.decode_jis_intelJISJIS
exif.decode_jis_motorolaJISJIS
exif.decode_unicode_intelUCS-2LEUCS-2LE
exif.decode_unicode_motorolaUCS-2BEUCS-2BE
exif.encode_jisno valueno value
exif.encode_unicodeISO-8859-15ISO-8859-15

fileinfo

fileinfo support enabled 
libmagic 543 

filter

Input Validation and Filtering enabled 


DirectiveLocal ValueMaster Value
filter.defaultunsafe_rawunsafe_raw
filter.default_flagsno valueno value

frankenphp

Version v1.7.0 

ftp

FTP support enabled 
FTPS support enabled 

gd

GD Support enabled 
GD Version bundled (2.1.0 compatible) 
FreeType Support enabled 
FreeType Linkage with freetype 
FreeType Version 2.12.1 
GIF Read Support enabled 
GIF Create Support enabled 
JPEG Support enabled 
libJPEG Version 6b 
PNG Support enabled 
libPNG Version 1.6.39 
WBMP Support enabled 
XBM Support enabled 
WebP Support enabled 
BMP Support enabled 
TGA Read Support enabled 


DirectiveLocal ValueMaster Value
gd.jpeg_ignore_warningOnOn

gmp

gmp support enabled 
GMP version 6.2.1 

hash

hash support enabled 
Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat murmur3a murmur3c murmur3f xxh32 xxh64 xxh3 xxh128 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5  


MHASH support Enabled 
MHASH API Version Emulated Support 

iconv

iconv support enabled 
iconv implementation glibc 
iconv library version 2.36 


DirectiveLocal ValueMaster Value
iconv.input_encodingno valueno value
iconv.internal_encodingno valueno value
iconv.output_encodingno valueno value

igbinary

igbinary support enabled 
igbinary version 3.2.16 
igbinary APCu serializer ABI 0 
igbinary session support yes 


DirectiveLocal ValueMaster Value
igbinary.compact_stringsOnOn

imagick

imagick moduleenabled
imagick module version 3.8.0 
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel 
Imagick compiled with ImageMagick version ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org 
Imagick using ImageMagick library version ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org 
ImageMagick copyright (C) 1999-2021 ImageMagick Studio LLC 
ImageMagick release date 2021-01-25 
ImageMagick number of supported formats:  247 
ImageMagick supported formats 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV 


DirectiveLocal ValueMaster Value
imagick.allow_zero_dimension_images00
imagick.locale_fix00
imagick.progress_monitor00
imagick.set_single_thread11
imagick.shutdown_sleep_count1010
imagick.skip_version_check00

intl

Internationalization support enabled 
ICU version 72.1 
ICU Data version 72.1 
ICU TZData version 2022e 
ICU Unicode version 15.0 


DirectiveLocal ValueMaster Value
intl.default_localeno valueno value
intl.error_level00
intl.use_exceptionsOffOff

json

json support enabled 

ldap

LDAP Support enabled 
Total Links 0/unlimited 
API Version 3001 
Vendor Name OpenLDAP 
Vendor Version 20513 


DirectiveLocal ValueMaster Value
ldap.max_linksUnlimitedUnlimited

libxml

libXML support active 
libXML Compiled Version 2.9.14 
libXML Loaded Version 20914 
libXML streams enabled 

mbstring

Multibyte Support enabled 
Multibyte string engine libmbfl 
HTTP input encoding translation disabled 
libmbfl version 1.3.2 


mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.


Multibyte (japanese) regex support enabled 
Multibyte regex (oniguruma) version 6.9.8 


DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.http_inputno valueno value
mbstring.http_outputno valueno value
mbstring.http_output_conv_mimetypes^(text/|application/xhtml\+xml)^(text/|application/xhtml\+xml)
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.regex_retry_limit10000001000000
mbstring.regex_stack_limit100000100000
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value

memcached

memcached supportenabled
Version 3.3.0 
libmemcached-awesome version 1.1.4 
SASL support yes 
Session support yes 
igbinary support no 
json support no 
msgpack support no 
zstd support no 


DirectiveLocal ValueMaster Value
memcached.compression_factor1.31.3
memcached.compression_level33
memcached.compression_threshold20002000
memcached.compression_typefastlzfastlz
memcached.default_binary_protocolOffOff
memcached.default_connect_timeout00
memcached.default_consistent_hashOffOff
memcached.item_size_limit00
memcached.serializerphpphp
memcached.sess_binary_protocolOnOn
memcached.sess_connect_timeout00
memcached.sess_consistent_hashOnOn
memcached.sess_consistent_hash_typeketamaketama
memcached.sess_lock_expire00
memcached.sess_lock_max_waitnot setnot set
memcached.sess_lock_retries55
memcached.sess_lock_waitnot setnot set
memcached.sess_lock_wait_max150150
memcached.sess_lock_wait_min150150
memcached.sess_lockingOnOn
memcached.sess_number_of_replicas00
memcached.sess_persistentOffOff
memcached.sess_prefixmemc.sess.key.memc.sess.key.
memcached.sess_randomize_replica_readOffOff
memcached.sess_remove_failed_serversOffOff
memcached.sess_sasl_passwordno valueno value
memcached.sess_sasl_usernameno valueno value
memcached.sess_server_failure_limit00
memcached.store_retry_count00

mysqlnd

mysqlnd enabled 
Version mysqlnd 8.3.22 
Compression supported 
core SSL supported 
extended SSL supported 
Command buffer size 4096 
Read buffer size 32768 
Read timeout 86400 
Collecting statistics Yes 
Collecting memory statistics No 
Tracing n/a 
Loaded plugins mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password 
API Extensions pdo_mysql 

openssl

OpenSSL support enabled 
OpenSSL Library Version OpenSSL 3.0.16 11 Feb 2025 
OpenSSL Header Version OpenSSL 3.0.16 11 Feb 2025 
Openssl default config /usr/lib/ssl/openssl.cnf 


DirectiveLocal ValueMaster Value
openssl.cafileno valueno value
openssl.capathno valueno value

pcntl

pcntl support enabled 

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled 
PCRE Library Version 10.42 2022-12-12 
PCRE Unicode Version 14.0.0 
PCRE JIT Support enabled 
PCRE JIT Target x86 64bit (little endian + unaligned) 


DirectiveLocal ValueMaster Value
pcre.backtrack_limit10000001000000
pcre.jitOnOn
pcre.recursion_limit100000100000

PDO

PDO support enabled 
PDO drivers sqlite, mysql, pgsql 

pdo_mysql

PDO Driver for MySQL enabled 
Client API version mysqlnd 8.3.22 


DirectiveLocal ValueMaster Value
pdo_mysql.default_socketno valueno value

pdo_pgsql

PDO Driver for PostgreSQL enabled 
PostgreSQL(libpq) Version 15.13 

pdo_sqlite

PDO Driver for SQLite 3.x enabled 
SQLite Library 3.40.1 

Phar

Phar: PHP Archive support enabled 
Phar API version 1.1.1 
Phar-based phar archives enabled 
Tar-based phar archives enabled 
ZIP-based phar archives enabled 
gzip compression enabled 
bzip2 compression disabled (install ext/bz2) 
Native OpenSSL support enabled 



Phar based on pear/PHP_Archive, original concept by Davey Shafik.Phar fully realized by Gregory Beaver and Marcus Boerger.Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.


DirectiveLocal ValueMaster Value
phar.cache_listno valueno value
phar.readonlyOnOn
phar.require_hashOnOn

posix

POSIX support enabled 

random

Version 8.3.22 

readline

Readline Support enabled 
Readline library 8.2 


DirectiveLocal ValueMaster Value
cli.pagerno valueno value
cli.prompt\b \> \b \> 

redis

Redis Supportenabled
Redis Version 6.2.0 
Redis Sentinel Version 1.0 
Available serializers php, json 


DirectiveLocal ValueMaster Value
redis.arrays.algorithmno valueno value
redis.arrays.authno valueno value
redis.arrays.autorehash00
redis.arrays.connecttimeout00
redis.arrays.consistent00
redis.arrays.distributorno valueno value
redis.arrays.functionsno valueno value
redis.arrays.hostsno valueno value
redis.arrays.index00
redis.arrays.lazyconnect00
redis.arrays.namesno valueno value
redis.arrays.pconnect00
redis.arrays.previousno valueno value
redis.arrays.readtimeout00
redis.arrays.retryinterval00
redis.clusters.authno valueno value
redis.clusters.cache_slots00
redis.clusters.persistent00
redis.clusters.read_timeout00
redis.clusters.seedsno valueno value
redis.clusters.timeout00
redis.pconnect.connection_limit00
redis.pconnect.echo_check_liveness11
redis.pconnect.pool_detect_dirty00
redis.pconnect.pool_patternno valueno value
redis.pconnect.pool_poll_timeout00
redis.pconnect.pooling_enabled11
redis.session.compressionnonenone
redis.session.compression_level33
redis.session.early_refresh00
redis.session.lock_expire00
redis.session.lock_retries-1-1
redis.session.lock_wait_time1000010000
redis.session.locking_enabled11

Reflection

Reflection enabled 

session

Session Support enabled 
Registered save handlers files user memcached redis rediscluster  
Registered serializer handlers php_serialize php php_binary igbinary  


DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_httponlyOffOff
session.cookie_lifetime00
session.cookie_path//
session.cookie_samesiteno valueno value
session.cookie_secureOffOff
session.gc_divisor100100
session.gc_maxlifetime14401440
session.gc_probability11
session.lazy_writeOnOn
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerredisredis
session.serialize_handlerigbinaryigbinary
session.sid_bits_per_character44
session.sid_length3232
session.upload_progress.cleanupOnOn
session.upload_progress.enabledOnOn
session.upload_progress.freq1%1%
session.upload_progress.min_freq11
session.upload_progress.namePHP_SESSION_UPLOAD_PROGRESSPHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefixupload_progress_upload_progress_
session.use_cookiesOnOn
session.use_only_cookiesOnOn
session.use_strict_modeOffOff
session.use_trans_sidOffOff

SimpleXML

SimpleXML support enabled 
Schema support enabled 

sodium

sodium support enabled 
libsodium headers version 1.0.18 
libsodium library version 1.0.18 

SPL

SPL support enabled 
Interfaces OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject 
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException 

sqlite3

SQLite3 support enabled 
SQLite Library 3.40.1 


DirectiveLocal ValueMaster Value
sqlite3.defensiveOnOn
sqlite3.extension_dirno valueno value

standard

Dynamic Library Support enabled 
Path to sendmail /usr/sbin/sendmail -t -i 


DirectiveLocal ValueMaster Value
assert.activeOnOn
assert.bailOffOff
assert.callbackno valueno value
assert.exceptionOnOn
assert.warningOnOn
auto_detect_line_endingsOffOff
default_socket_timeout6060
fromno valueno value
session.trans_sid_hostsno valueno value
session.trans_sid_tagsa=href,area=href,frame=src,form=a=href,area=href,frame=src,form=
unserialize_max_depth40964096
url_rewriter.hostsno valueno value
url_rewriter.tagsform=form=
user_agentno valueno value

sysvsem

sysvsem support enabled 

tokenizer

Tokenizer Support enabled 

xml

XML Support active 
XML Namespace Support active 
libxml2 Version 2.9.14 

xmlreader

XMLReader enabled 

xmlwriter

XMLWriter enabled 

Zend OPcache

Opcode Caching Up and Running 
Optimization Enabled 
SHM Cache Enabled 
File Cache Disabled 
JIT On 
Startup OK 
Shared memory model mmap 
Cache hits 0 
Cache misses 2 
Used memory 34426128 
Free memory 99790912 
Wasted memory 688 
Interned Strings Used memory 8894736 
Interned Strings Free memory 24659696 
Cached scripts 1 
Cached keys 1 
Max keys 16229 
OOM restarts 0 
Hash keys restarts 0 
Manual restarts 0 
Start time 2025-06-21T18:08:50+0000 
Last restart time none 
Last force restart time none 


DirectiveLocal ValueMaster Value
opcache.blacklist_filenameno valueno value
opcache.dups_fixOffOff
opcache.enableOnOn
opcache.enable_cliOffOff
opcache.enable_file_overrideOffOff
opcache.error_logno valueno value
opcache.file_cacheno valueno value
opcache.file_cache_consistency_checksOnOn
opcache.file_cache_onlyOffOff
opcache.file_update_protection22
opcache.force_restart_timeout180180
opcache.huge_code_pagesOffOff
opcache.interned_strings_buffer3232
opcache.jit12551255
opcache.jit_bisect_limit00
opcache.jit_blacklist_root_trace1616
opcache.jit_blacklist_side_trace88
opcache.jit_buffer_size8M8M
opcache.jit_debug00
opcache.jit_hot_func127127
opcache.jit_hot_loop6464
opcache.jit_hot_return88
opcache.jit_hot_side_exit88
opcache.jit_max_exit_counters81928192
opcache.jit_max_loop_unrolls88
opcache.jit_max_polymorphic_calls22
opcache.jit_max_recursive_calls22
opcache.jit_max_recursive_returns22
opcache.jit_max_root_traces10241024
opcache.jit_max_side_traces128128
opcache.jit_max_trace_length10241024
opcache.jit_prof_threshold0.0050.005
opcache.lockfile_path/tmp/tmp
opcache.log_verbosity_level11
opcache.max_accelerated_files1000010000
opcache.max_file_size00
opcache.max_wasted_percentage55
opcache.memory_consumption128128
opcache.opt_debug_level00
opcache.optimization_level0x7FFEBFFF0x7FFEBFFF
opcache.preferred_memory_modelno valueno value
opcache.preloadno valueno value
opcache.preload_userno valueno value
opcache.protect_memoryOffOff
opcache.record_warningsOffOff
opcache.restrict_apino valueno value
opcache.revalidate_freq6060
opcache.revalidate_pathOffOff
opcache.save_commentsOnOn
opcache.use_cwdOnOn
opcache.validate_permissionOffOff
opcache.validate_rootOffOff
opcache.validate_timestampsOnOn

zip

Zip enabled 
Zip version 1.22.3 
Libzip version 1.7.3 
BZIP2 compression Yes 
XZ compression No 
ZSTD compression No 
AES-128 encryption Yes 
AES-192 encryption Yes 
AES-256 encryption Yes 

zlib

ZLib Support enabled 
Stream Wrapper compress.zlib:// 
Stream Filter zlib.inflate, zlib.deflate 
Compiled Version 1.2.13 
Linked Version 1.2.13 


DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name

Environment

VariableValue
PHP_UPLOAD_LIMIT 512M 
PHP_INI_DIR /usr/local/etc/php 
PHP_OPCACHE_MEMORY_CONSUMPTION 128 
HOME /root 
GODEBUG cgocheck=0 
PHP_LDFLAGS -Wl,-O1 -pie 
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
PHP_VERSION 8.3.22 
NEXTCLOUD_VERSION 31.0.6 
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
PHP_ASC_URL https://www.php.net/distributions/php-8.3.22.tar.xz.asc 
PHP_URL https://www.php.net/distributions/php-8.3.22.tar.xz 
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
PHP_MEMORY_LIMIT 1G 
XDG_CONFIG_HOME /config 
XDG_DATA_HOME /data 
PHPIZE_DEPS autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c 
PWD /app 

PHP Variables

VariableValue
$_SERVER['PHP_MEMORY_LIMIT']1G
$_SERVER['PHP_INI_DIR']/usr/local/etc/php
$_SERVER['PHP_CPPFLAGS']-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$_SERVER['PATH']/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
$_SERVER['XDG_CONFIG_HOME']/config
$_SERVER['XDG_DATA_HOME']/data
$_SERVER['GODEBUG']cgocheck=0
$_SERVER['NEXTCLOUD_VERSION']31.0.6
$_SERVER['PHP_OPCACHE_MEMORY_CONSUMPTION']128
$_SERVER['PHP_LDFLAGS']-Wl,-O1 -pie
$_SERVER['PHP_CFLAGS']-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$_SERVER['PHPIZE_DEPS']autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
$_SERVER['PWD']/app
$_SERVER['PHP_VERSION']8.3.22
$_SERVER['PHP_ASC_URL']https://www.php.net/distributions/php-8.3.22.tar.xz.asc
$_SERVER['PHP_URL']https://www.php.net/distributions/php-8.3.22.tar.xz
$_SERVER['PHP_UPLOAD_LIMIT']512M
$_SERVER['HOME']/root
$_SERVER['DOCUMENT_ROOT']/var/www/html
$_SERVER['PATH_INFO']no value
$_SERVER['PHP_SELF']/info.php
$_SERVER['DOCUMENT_URI']/info.php
$_SERVER['SCRIPT_FILENAME']/var/www/html/info.php
$_SERVER['SCRIPT_NAME']/info.php
$_SERVER['HTTPS']no value
$_SERVER['SSL_PROTOCOL']no value
$_SERVER['REQUEST_SCHEME']http
$_SERVER['SERVER_PORT']80
$_SERVER['CONTENT_LENGTH']no value
$_SERVER['GATEWAY_INTERFACE']CGI/1.1
$_SERVER['SERVER_PROTOCOL']HTTP/1.1
$_SERVER['SERVER_SOFTWARE']FrankenPHP
$_SERVER['AUTH_TYPE']no value
$_SERVER['REMOTE_IDENT']no value
$_SERVER['REQUEST_URI']/info.php
$_SERVER['CONTENT_TYPE']no value
$_SERVER['QUERY_STRING']no value
$_SERVER['REQUEST_METHOD']GET
$_SERVER['HTTP_SEC_CH_UA_PLATFORM']"macOS"
$_SERVER['HTTP_DNT']1
$_SERVER['HTTP_SEC_FETCH_USER']?1
$_SERVER['HTTP_ACCEPT_LANGUAGE']en-US,en;q=0.9,de;q=0.8
$_SERVER['HTTP_PRIORITY']u=0, i
$_SERVER['HTTP_FORWARDED']proto=https;for=180.254.225.36
$_SERVER['HTTP_X_FORWARDED_FOR']180.254.225.36
$_SERVER['HTTP_CACHE_CONTROL']max-age=0
$_SERVER['HTTP_SEC_CH_UA']"Chromium";v="137", "Not/A)Brand";v="24"
$_SERVER['HTTP_SEC_CH_UA_MOBILE']?0
$_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS']1
$_SERVER['HTTP_ACCEPT']text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
$_SERVER['HTTP_SEC_FETCH_MODE']navigate
$_SERVER['HTTP_USER_AGENT']Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
$_SERVER['HTTP_SEC_FETCH_SITE']none
$_SERVER['HTTP_SEC_FETCH_DEST']document
$_SERVER['HTTP_ACCEPT_ENCODING']gzip, deflate, br, zstd
$_SERVER['front_controller_active']true
$_SERVER['REQUEST_TIME_FLOAT']1750530273.9413
$_SERVER['REQUEST_TIME']1750530273
$_SERVER['argv']Array
(
)

$_SERVER['argc']0
$_ENV['PWD']/app
$_ENV['PHP_VERSION']8.3.22
$_ENV['PHP_ASC_URL']https://www.php.net/distributions/php-8.3.22.tar.xz.asc
$_ENV['PHP_URL']https://www.php.net/distributions/php-8.3.22.tar.xz
$_ENV['PHP_UPLOAD_LIMIT']512M
$_ENV['HOME']/root
$_ENV['PHP_MEMORY_LIMIT']1G
$_ENV['PHP_INI_DIR']/usr/local/etc/php
$_ENV['PHP_CPPFLAGS']-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$_ENV['PATH']/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
$_ENV['XDG_CONFIG_HOME']/config
$_ENV['XDG_DATA_HOME']/data
$_ENV['GODEBUG']cgocheck=0
$_ENV['NEXTCLOUD_VERSION']31.0.6
$_ENV['PHP_OPCACHE_MEMORY_CONSUMPTION']128
$_ENV['PHP_LDFLAGS']-Wl,-O1 -pie
$_ENV['PHP_CFLAGS']-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$_ENV['PHPIZE_DEPS']autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c


PHP Credits

PHP Group
Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski 


Language Design & Concept
Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger 


PHP Authors
ContributionAuthors
Zend Scripting Language Engine Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov 
Extension Module API Andi Gutmans, Zeev Suraski, Andrei Zmievski 
UNIX Build and Modularization Stig Bakken, Sascha Schumann, Jani Taskinen, Peter Kokot 
Windows Support Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski, Kalle Sommer Nielsen 
Server API (SAPI) Abstraction Layer Andi Gutmans, Shane Caraveo, Zeev Suraski 
Streams Abstraction Layer Wez Furlong, Sara Golemon 
PHP Data Objects Layer Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky 
Output Handler Zeev Suraski, Thies C. Arntzen, Marcus Boerger, Michael Wallner 
Consistent 64 bit support Anthony Ferrara, Anatol Belski 


SAPI Modules
ContributionAuthors
Apache 2.0 Handler Ian Holsman, Justin Erenkrantz (based on Apache 2.0 Filter code) 
CGI / FastCGI Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry Stogov 
CLI Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui 
Embed Edin Kadribasic 
FastCGI Process Manager Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet 
litespeed George Wang 
phpdbg Felipe Pena, Joe Watkins, Bob Weinand 


Module Authors
ModuleAuthors
BC Math Andi Gutmans 
Bzip2 Sterling Hughes 
Calendar Shane Caraveo, Colin Viebrock, Hartmut Holzgraefe, Wez Furlong 
COM and .Net Wez Furlong 
ctype Hartmut Holzgraefe 
cURL Sterling Hughes 
Date/Time Support Derick Rethans 
DB-LIB (MS SQL, Sybase) Wez Furlong, Frank M. Kromann, Adam Baratz 
DBA Sascha Schumann, Marcus Boerger 
DOM Christian Stocker, Rob Richards, Marcus Boerger 
enchant Pierre-Alain Joye, Ilia Alshanetsky 
EXIF Rasmus Lerdorf, Marcus Boerger 
FFI Dmitry Stogov 
fileinfo Ilia Alshanetsky, Pierre Alain Joye, Scott MacVicar, Derick Rethans, Anatol Belski 
Firebird driver for PDO Ard Biesheuvel 
FTP Stefan Esser, Andrew Skalski 
GD imaging Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger, Mark Randall 
GetText Alex Plotnick 
GNU GMP support Stanislav Malyshev 
Iconv Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi 
IMAP Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky 
Input Filter Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky 
Internationalization Ed Batutis, Vladimir Iordanov, Dmitry Lakhtyuk, Stanislav Malyshev, Vadim Savchuk, Kirti Velankar 
JSON Jakub Zelenka, Omar Kilani, Scott MacVicar 
LDAP Amitay Isaacs, Eric Warnke, Rasmus Lerdorf, Gerrit Thomson, Stig Venaas 
LIBXML Christian Stocker, Rob Richards, Marcus Boerger, Wez Furlong, Shane Caraveo 
Multibyte String Functions Tsukada Takuya, Rui Hirokawa 
MySQL driver for PDO George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter 
MySQLi Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel 
MySQLnd Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter 
OCI8 Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation 
ODBC driver for PDO Wez Furlong 
ODBC Stig Bakken, Andreas Karajannis, Frank M. Kromann, Daniel R. Kalowsky 
Opcache Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Dmitry Stogov, Xinchen Hui 
OpenSSL Stig Venaas, Wez Furlong, Sascha Kettler, Scott MacVicar, Eliot Lear 
Oracle (OCI) driver for PDO Wez Furlong 
pcntl Jason Greene, Arnaud Le Blanc 
Perl Compatible Regexps Andrei Zmievski 
PHP Archive Gregory Beaver, Marcus Boerger 
PHP Data Objects Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky 
PHP hash Sara Golemon, Rasmus Lerdorf, Stefan Esser, Michael Wallner, Scott MacVicar 
Posix Kristian Koehntopp 
PostgreSQL driver for PDO Edin Kadribasic, Ilia Alshanetsky 
PostgreSQL Jouni Ahto, Zeev Suraski, Yasuo Ohgaki, Chris Kings-Lynne 
Pspell Vlad Krupin 
random Go Kudo, Tim Düsterhus, Guilliam Xavier, Christoph M. Becker, Jakub Zelenka, Bob Weinand, Máté Kocsis, and Original RNG implementators 
Readline Thies C. Arntzen 
Reflection Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski, Johannes Schlueter 
Sessions Sascha Schumann, Andrei Zmievski 
Shared Memory Operations Slava Poliakov, Ilia Alshanetsky 
SimpleXML Sterling Hughes, Marcus Boerger, Rob Richards 
SNMP Rasmus Lerdorf, Harrie Hazewinkel, Mike Jackson, Steven Lawrance, Johann Hanne, Boris Lytochkin 
SOAP Brad Lafountain, Shane Caraveo, Dmitry Stogov 
Sockets Chris Vandomelen, Sterling Hughes, Daniel Beulshausen, Jason Greene 
Sodium Frank Denis 
SPL Marcus Boerger, Etienne Kneuss 
SQLite 3.x driver for PDO Wez Furlong 
SQLite3 Scott MacVicar, Ilia Alshanetsky, Brad Dewar 
System V Message based IPC Wez Furlong 
System V Semaphores Tom May 
System V Shared Memory Christian Cartus 
tidy John Coggeshall, Ilia Alshanetsky 
tokenizer Andrei Zmievski, Johannes Schlueter 
XML Stig Bakken, Thies C. Arntzen, Sterling Hughes 
XMLReader Rob Richards 
XMLWriter Rob Richards, Pierre-Alain Joye 
XSL Christian Stocker, Rob Richards 
Zip Pierre-Alain Joye, Remi Collet 
Zlib Rasmus Lerdorf, Stefan Roehrich, Zeev Suraski, Jade Nicoletti, Michael Wallner 


PHP Documentation
Authors Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey 
Editor Peter Cowburn 
User Note Maintainers Daniel P. Brown, Thiago Henrique Pojda 
Other Contributors Previously active authors, editors and other contributors are listed in the manual. 


PHP Quality Assurance Team
Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena, David Soria Parra, Stanislav Malyshev, Julien Pauli, Stephen Zarkos, Anatol Belski, Remi Collet, Ferenc Kovacs 


Websites and Infrastructure team
PHP Websites Team Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen, Peter Cowburn, Adam Harvey, Ferenc Kovacs, Levi Morrison 
Event Maintainers Damien Seguy, Daniel P. Brown 
Network Infrastructure Daniel P. Brown 
Windows Infrastructure Alex Schoenmaker 

PHP License



This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected].

Relevant log output


SimJoSt avatar Jun 21 '25 18:06 SimJoSt

I also discovered this just last night, and I’m already working on a fix. :)

withinboredom avatar Jun 22 '25 08:06 withinboredom

It looks like when a cgi-thread gets turned into a worker thread, the predefined environment is not copied over.

withinboredom avatar Jun 22 '25 08:06 withinboredom

Amazing! Thank you. Then I don't have to find workarounds for what I am building, so it will be much cleaner. If you just stumbled upon it as well, then it might be a recent regression.

If you need support testing, let me know.

SimJoSt avatar Jun 22 '25 11:06 SimJoSt

This is currently the expected behavior, not a regression, since threads might handle requests across multiple php_server instances not sharing the same env.

It should be possible to support this though, the env would need to be added to the per-thread sandbox instead of only to $_SERVER. @withinboredom.

AlliBalliBaba avatar Jun 22 '25 12:06 AlliBalliBaba

Yeah. I'm looking to add it to the sandbox.

withinboredom avatar Jun 22 '25 12:06 withinboredom