frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Error building docker image for laravel standalone binaries

Open ecampere opened this issue 8 months ago • 11 comments

What happened?

When building the docker image for laravel standalone binaries, following the step-by-step instructions in the FrankPHP documentation, an error is generated from ./build-static.sh in docker.

To reproduce:

  1. composer create-project laravel/laravel frankenphp-demo

  2. Create a file named static-build.Dockerfile inside frankenphp-demo directory. The static-build.Dockerfile contents are exactly the same as https://frankenphp.dev/docs/laravel/#laravel-apps-as-standalone-binaries

  3. Run docker build -t static-laravel-app -f static-build.Dockerfile .

The error is generated.

Build Type

Official static build

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

PHP Version => 8.3.20

System => Linux everton 6.14.5-100.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May  2 14:22:13 UTC 2025 x86_64
Build Date => Apr  8 2025 20:21:18
Build System => Fedora release 40 (Forty)
Build Provider => Fedora Project
Compiler => gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Architecture => x86_64
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
Scan this dir for additional .ini files => /etc/php.d
Additional .ini files parsed => /etc/php.d/10-opcache.ini,
/etc/php.d/20-bz2.ini,
/etc/php.d/20-calendar.ini,
/etc/php.d/20-ctype.ini,
/etc/php.d/20-curl.ini,
/etc/php.d/20-dom.ini,
/etc/php.d/20-exif.ini,
/etc/php.d/20-fileinfo.ini,
/etc/php.d/20-ftp.ini,
/etc/php.d/20-gettext.ini,
/etc/php.d/20-gmp.ini,
/etc/php.d/20-iconv.ini,
/etc/php.d/20-intl.ini,
/etc/php.d/20-mbstring.ini,
/etc/php.d/20-mysqlnd.ini,
/etc/php.d/20-pdo.ini,
/etc/php.d/20-phar.ini,
/etc/php.d/20-posix.ini,
/etc/php.d/20-shmop.ini,
/etc/php.d/20-simplexml.ini,
/etc/php.d/20-soap.ini,
/etc/php.d/20-sodium.ini,
/etc/php.d/20-sqlite3.ini,
/etc/php.d/20-sysvmsg.ini,
/etc/php.d/20-sysvsem.ini,
/etc/php.d/20-sysvshm.ini,
/etc/php.d/20-tokenizer.ini,
/etc/php.d/20-xml.ini,
/etc/php.d/20-xmlwriter.ini,
/etc/php.d/20-xsl.ini,
/etc/php.d/30-mcrypt.ini,
/etc/php.d/30-mysqli.ini,
/etc/php.d/30-pdo_mysql.ini,
/etc/php.d/30-pdo_sqlite.ini,
/etc/php.d/30-xmlreader.ini,
/etc/php.d/40-amqp.ini,
/etc/php.d/40-apcu.ini,
/etc/php.d/40-igbinary.ini,
/etc/php.d/40-msgpack.ini,
/etc/php.d/40-phpiredis.ini,
/etc/php.d/40-psr.ini,
/etc/php.d/40-raphf.ini,
/etc/php.d/40-uuid.ini,
/etc/php.d/40-zip.ini,
/etc/php.d/50-http.ini,
/etc/php.d/50-mongodb.ini,
/etc/php.d/50-phalcon.ini,
/etc/php.d/50-redis.ini,
/etc/php.d/50-uuid.ini,
/etc/php.d/50-zephir_parser.ini

PHP API => 20230831
PHP Extension => 20230831
Zend Extension => 420230831
Zend Extension Build => API420230831,NTS
PHP Extension Build => API20230831,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
Zend Max Execution Timers => disabled
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*, http.*

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


 _______________________________________________________________________


Configuration

amqp

Version => 2.1.2
Compiled => Jan 25 2024 @ 00:00:00
AMQP protocol version => 0-9-1
librabbitmq version => 0.14.0
Default max channels per connection => 256
Default max frame size => 131072
Default heartbeats interval => 0

Directive => Local Value => Master Value
amqp.auto_ack => 0 => 0
amqp.cacert => no value => no value
amqp.cert => no value => no value
amqp.channel_max => 256 => 256
amqp.connect_timeout => 0 => 0
amqp.deserialization_depth => 128 => 128
amqp.frame_max => 131072 => 131072
amqp.global_prefetch_count => 0 => 0
amqp.global_prefetch_size => 0 => 0
amqp.heartbeat => 0 => 0
amqp.host => localhost => localhost
amqp.key => no value => no value
amqp.login => guest => guest
amqp.password => guest => guest
amqp.port => 5672 => 5672
amqp.prefetch_count => 3 => 3
amqp.prefetch_size => 0 => 0
amqp.read_timeout => 0 => 0
amqp.rpc_timeout => 0 => 0
amqp.sasl_method => AMQP_SASL_METHOD_PLAIN => AMQP_SASL_METHOD_PLAIN
amqp.serialization_depth => 128 => 128
amqp.timeout => no value => no value
amqp.verify => 1 => 1
amqp.vhost => / => /
amqp.write_timeout => 0 => 0

apcu

APCu Support => Disabled
Version => 5.1.24
APCu Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask => /tmp/apc.XXXXXX
Serialization Support => Disabled
Build Date => Sep 23 2024 00:00:00

Directive => Local Value => Master Value
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.entries_hint => 4096 => 4096
apc.gc_ttl => 3600 => 3600
apc.mmap_file_mask => /tmp/apc.XXXXXX => /tmp/apc.XXXXXX
apc.preload_path => no value => no value
apc.serializer => php => php
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.slam_defense => Off => Off
apc.smart => 0 => 0
apc.ttl => 0 => 0
apc.use_request_time => Off => Off

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.8, 13-Jul-2019

calendar

Calendar support => enabled

Core

PHP Version => 8.3.20

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_log_mode => 0644 => 0644
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => On => On
extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules
fiber.stack_size => no value => no value
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
mail.mixed_lf_and_crlf => Off => Off
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
max_multipart_body_parts => -1 => -1
memory_limit => 4096M => 4096M
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 100M => 100M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => -1 => -1
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sys_temp_dir => no value => no value
syslog.facility => LOG_USER => LOG_USER
syslog.filter => no-ctrl => no-ctrl
syslog.ident => php => php
unserialize_callback_func => no value => no value
upload_max_filesize => 100M => 100M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.assertions => -1 => -1
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.exception_ignore_args => Off => Off
zend.exception_string_param_max_len => 15 => 15
zend.max_allowed_stack_size => 0 => 0
zend.multibyte => Off => Off
zend.reserved_stack_size => 0 => 0
zend.script_encoding => no value => no value
zend.signal_check => Off => Off

ctype

ctype functions => enabled

curl

cURL support => enabled
cURL Information => 8.6.0
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 => No
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 => No
HSTS => Yes
GSASL => No
Protocols => dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp, ws, wss
Host => x86_64-redhat-linux-gnu
SSL Version => OpenSSL/3.2.4
ZLib Version => 1.3.1.zlib-ng
libSSH Version => libssh/0.10.6/openssl/zlib

Directive => Local Value => Master Value
curl.cainfo => no value => no value

date

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

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.833333 => 90.833333
date.sunset_zenith => 90.833333 => 90.833333
date.timezone => UTC => UTC

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.12.10
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

Directive => Local Value => Master Value
exif.decode_jis_intel => JIS => JIS
exif.decode_jis_motorola => JIS => JIS
exif.decode_unicode_intel => UCS-2LE => UCS-2LE
exif.decode_unicode_motorola => UCS-2BE => UCS-2BE
exif.encode_jis => no value => no value
exif.encode_unicode => ISO-8859-15 => ISO-8859-15

fileinfo

fileinfo support => enabled
libmagic => 543

filter

Input Validation and Filtering => enabled

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

ftp

FTP support => enabled
FTPS support => enabled

gettext

GetText Support => enabled

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

http

HTTP Support => enabled
Extension Version => 4.2.4

Used Library => Compiled => Linked
libz => 1.3.0.zlib-ng => 1.3.1.zlib-ng
libcurl => 8.5.0 => 8.6.0
libevent => 2.1.12-stable => 2.1.12-stable
libicu (IDNA2008/IDNA2003) => 74.2 => 74.2
libidn2 (IDNA2008) => disabled => disabled
libidn (IDNA2003) => disabled => disabled
libidnkit2 (IDNA2008) => disabled => disabled
libidnkit (IDNA2003) => disabled => disabled

Directive => Local Value => Master Value
http.etag.mode => crc32b => crc32b

iconv

iconv support => enabled
iconv implementation => glibc
iconv library version => 2.39

Directive => Local Value => Master Value
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value

igbinary

igbinary support => enabled
igbinary version => 3.2.15
igbinary APCu serializer ABI => 0
igbinary session support => yes

Directive => Local Value => Master Value
igbinary.compact_strings => On => On

intl

Internationalization support => enabled
ICU version => 74.2
ICU Data version => 74.2
ICU TZData version => 2023c
ICU Unicode version => 15.1

Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => Off => Off

json

json support => enabled

libxml

libXML support => active
libXML Compiled Version => 2.12.10
libXML Loaded Version => 21210
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.9

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.regex_retry_limit => 1000000 => 1000000
mbstring.regex_stack_limit => 100000 => 100000
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mcrypt

mcrypt support => enabled
mcrypt_filter support => enabled
Extension version => 1.0.6
Library version => 2.5.8
Api No => 20021217
Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes 
Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream 

Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value

mongodb

MongoDB support => enabled
MongoDB extension version => 1.21.0
MongoDB extension stability => stable
libbson headers version => 1.30.0
libbson library version => 1.30.3
libmongoc headers version => 1.30.0
libmongoc library version => 1.30.3
libmongoc SSL => enabled
libmongoc SSL library => OpenSSL
libmongoc crypto => enabled
libmongoc crypto library => libcrypto
libmongoc crypto system profile => enabled
libmongoc SASL => enabled
libmongoc SRV => enabled
libmongoc compression => enabled
libmongoc compression snappy => enabled
libmongoc compression zlib => enabled
libmongoc compression zstd => enabled
libmongocrypt headers version => 1.12.0
libmongocrypt library version => 1.13.1
libmongocrypt crypto => enabled
libmongocrypt crypto library => libcrypto
crypt_shared library version => unknown

Directive => Local Value => Master Value
mongodb.debug => no value => no value

msgpack

MessagePack Support => enabled
Session Support => enabled
extension Version => 2.2.0
header Version => 3.2.0

Directive => Local Value => Master Value
msgpack.error_display => On => On
msgpack.illegal_key_insert => Off => Off
msgpack.php_only => On => On
msgpack.use_str8_serialization => On => On

mysqli

MysqlI Support => enabled
Client API library version => mysqlnd 8.3.20
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0

Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
mysqli.default_user => no value => no value
mysqli.local_infile_directory => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.rollback_on_cached_plink => Off => Off

mysqlnd

mysqlnd => enabled
Version => mysqlnd 8.3.20
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 => mysqli,pdo_mysql

openssl

OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 3.2.4 11 Feb 2025
OpenSSL Header Version => OpenSSL 3.2.4 11 Feb 2025
Openssl default config => /etc/pki/tls/openssl.cnf

Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 10.44 2024-06-07
PCRE Unicode Version => 15.0.0
PCRE JIT Support => enabled
PCRE JIT Target => x86 64bit (little endian + unaligned)

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.jit => Off => Off
pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled
PDO drivers => mysql, sqlite

pdo_mysql

PDO Driver for MySQL => enabled
Client API version => mysqlnd 8.3.20

Directive => Local Value => Master Value
pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock

pdo_sqlite

PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.45.1

phalcon


Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
phalcon => enabled
Author => Phalcon Team and contributors
Version => 5.7.0
Build Date => May 19 2024 00:00:00
Powered by Zephir => Version 0.18.0-$Id$

Directive => Local Value => Master Value
phalcon.db.escape_identifiers => On => On
phalcon.db.force_casting => Off => Off
phalcon.form.strict_entity_property_check => Off => Off
phalcon.orm.case_insensitive_column_map => Off => Off
phalcon.orm.cast_last_insert_id_to_int => Off => Off
phalcon.orm.cast_on_hydrate => Off => Off
phalcon.orm.column_renaming => On => On
phalcon.orm.disable_assign_setters => Off => Off
phalcon.orm.dynamic_update => On => On
phalcon.orm.enable_implicit_joins => On => On
phalcon.orm.enable_literals => On => On
phalcon.orm.events => On => On
phalcon.orm.exception_on_failed_metadata_save => On => On
phalcon.orm.exception_on_failed_save => Off => Off
phalcon.orm.ignore_unknown_columns => Off => Off
phalcon.orm.late_state_binding => Off => Off
phalcon.orm.not_null_validations => On => On
phalcon.orm.resultset_prefetch_records => 0 => 0
phalcon.orm.update_snapshot_on_save => On => On
phalcon.orm.virtual_foreign_keys => On => On
phalcon.warning.enable => On => On

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 => enabled
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.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On

phpiredis

phpiredis => enabled
phpiredis version => 1.0.1
hiredis version => 1.0.2

posix

POSIX support => enabled

random

Version => 8.3.20

raphf

Resource and persistent handle factory support => enabled
Extension version => 2.0.1

                    Persistent handles in this process                    
Provider => Ident => Used => Free

Directive => Local Value => Master Value
raphf.persistent_handle.limit => -1 => -1

readline

Readline Support => enabled
Readline library => EditLine wrapper

Directive => Local Value => Master Value
cli.pager => no value => no value
cli.prompt => \b \>  => \b \> 

redis

Redis Support => enabled
Redis Version => 5.3.7
Redis Sentinel Version => 0.1
Available serializers => php, json, igbinary, msgpack
Available compression => lzf, zstd, lz4

Directive => Local Value => Master Value
redis.arrays.algorithm => no value => no value
redis.arrays.auth => no value => no value
redis.arrays.autorehash => 0 => 0
redis.arrays.connecttimeout => 0 => 0
redis.arrays.consistent => 0 => 0
redis.arrays.distributor => no value => no value
redis.arrays.functions => no value => no value
redis.arrays.hosts => no value => no value
redis.arrays.index => 0 => 0
redis.arrays.lazyconnect => 0 => 0
redis.arrays.names => no value => no value
redis.arrays.pconnect => 0 => 0
redis.arrays.previous => no value => no value
redis.arrays.readtimeout => 0 => 0
redis.arrays.retryinterval => 0 => 0
redis.clusters.auth => no value => no value
redis.clusters.cache_slots => 0 => 0
redis.clusters.persistent => 0 => 0
redis.clusters.read_timeout => 0 => 0
redis.clusters.seeds => no value => no value
redis.clusters.timeout => 0 => 0
redis.pconnect.connection_limit => 0 => 0
redis.pconnect.echo_check_liveness => 1 => 1
redis.pconnect.pool_detect_dirty => 0 => 0
redis.pconnect.pool_pattern => no value => no value
redis.pconnect.pool_poll_timeout => 0 => 0
redis.pconnect.pooling_enabled => 1 => 1
redis.session.lock_expire => 0 => 0
redis.session.lock_retries => 10 => 10
redis.session.lock_wait_time => 2000 => 2000
redis.session.locking_enabled => 0 => 0

Reflection

Reflection => enabled

session

Session Support => enabled
Registered save handlers => files user redis rediscluster 
Registered serializer handlers => php_serialize php php_binary igbinary msgpack 

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_samesite => no value => no value
session.cookie_secure => Off => Off
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.lazy_write => On => On
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.sid_bits_per_character => 5 => 5
session.sid_length => 26 => 26
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_strict_mode => Off => Off
session.use_trans_sid => Off => Off

shmop

shmop support => enabled

SimpleXML

SimpleXML support => enabled
Schema support => enabled

soap

Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => On => On
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

sockets

Sockets Support => enabled

sodium

sodium support => enabled
libsodium headers version => 1.0.20
libsodium library version => 1.0.20

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.45.1

Directive => Local Value => Master Value
sqlite3.defensive => On => On
sqlite3.extension_dir => no value => no value

standard

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

Directive => Local Value => Master Value
assert.active => On => On
assert.bail => Off => Off
assert.callback => no value => no value
assert.exception => On => On
assert.warning => On => On
auto_detect_line_endings => Off => Off
default_socket_timeout => 60 => 60
from => no value => no value
session.trans_sid_hosts => no value => no value
session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
unserialize_max_depth => 4096 => 4096
url_rewriter.hosts => no value => no value
url_rewriter.tags => form= => form=
user_agent => no value => no value

sysvmsg

sysvmsg support => enabled

sysvsem

sysvsem support => enabled

sysvshm

sysvshm support => enabled

tokenizer

Tokenizer Support => enabled

uuid

UUID extension => enabled
Version => 1.2.1 (stable)
Released => 2024-10-08
Authors => Hartmut Holzgraefe, Remi Collet

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.12.10

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

xsl

XSL => enabled
libxslt Version => 1.1.43
libxslt compiled against libxml Version => 2.12.9
EXSLT => enabled
libexslt Version => 0.8.24

Zend OPcache

Opcode Caching => Up and Running
Optimization => Enabled
SHM Cache => Enabled
File Cache => Disabled
JIT => Disabled
Startup => OK
Shared memory model => mmap
Cache hits => 0
Cache misses => 0
Used memory => 9167936
Free memory => 125049792
Wasted memory => 0
Interned Strings Used memory => 2902472
Interned Strings Free memory => 5486136
Cached scripts => 0
Cached keys => 0
Max keys => 16229
OOM restarts => 0
Hash keys restarts => 0
Manual restarts => 0
Start time => 2025-05-10T03:31:59+0000
Last restart time => none
Last force restart time => none

Directive => Local Value => Master Value
opcache.blacklist_filename => /etc/php.d/opcache*.blacklist => /etc/php.d/opcache*.blacklist
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => On => On
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.file_cache => no value => no value
opcache.file_cache_consistency_checks => On => On
opcache.file_cache_only => Off => Off
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.huge_code_pages => Off => Off
opcache.interned_strings_buffer => 8 => 8
opcache.jit => tracing => tracing
opcache.jit_bisect_limit => 0 => 0
opcache.jit_blacklist_root_trace => 16 => 16
opcache.jit_blacklist_side_trace => 8 => 8
opcache.jit_buffer_size => 0 => 0
opcache.jit_debug => 0 => 0
opcache.jit_hot_func => 127 => 127
opcache.jit_hot_loop => 64 => 64
opcache.jit_hot_return => 8 => 8
opcache.jit_hot_side_exit => 8 => 8
opcache.jit_max_exit_counters => 8192 => 8192
opcache.jit_max_loop_unrolls => 8 => 8
opcache.jit_max_polymorphic_calls => 2 => 2
opcache.jit_max_recursive_calls => 2 => 2
opcache.jit_max_recursive_returns => 2 => 2
opcache.jit_max_root_traces => 1024 => 1024
opcache.jit_max_side_traces => 128 => 128
opcache.jit_max_trace_length => 1024 => 1024
opcache.jit_prof_threshold => 0.005 => 0.005
opcache.lockfile_path => /tmp => /tmp
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 10000 => 10000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 128 => 128
opcache.opt_debug_level => 0 => 0
opcache.optimization_level => 0x7FFEBFFF => 0x7FFEBFFF
opcache.preferred_memory_model => no value => no value
opcache.preload => no value => no value
opcache.preload_user => no value => no value
opcache.protect_memory => Off => Off
opcache.record_warnings => Off => Off
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => On => On
opcache.use_cwd => On => On
opcache.validate_permission => Off => Off
opcache.validate_root => Off => Off
opcache.validate_timestamps => On => On

zephir_parser


The Zephir Parser delivered as a C extension for the PHP language.
zephir_parser => enabled
Author => Zephir Team and contributors
Version => 1.6.0
Build Date => May 23 2024 02:07:55

zip

Zip => enabled
Zip version => 1.22.5
Libzip version => 1.10.1
BZIP2 compression => Yes
XZ compression => Yes
ZSTD compression => Yes
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.3.1.zlib-ng
Linked Version => 1.3.1.zlib-ng

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
SHELL => /bin/bash
SESSION_MANAGER => local/unix:@/tmp/.ICE-unix/221597,unix/unix:/tmp/.ICE-unix/221597
COLORTERM => truecolor
HISTCONTROL => ignoredups
XDG_MENU_PREFIX => gnome-
rvm_prefix => /home/ecampere
HISTSIZE => 1000
HOSTNAME => everton
SSH_AUTH_SOCK => /run/user/1000/keyring/ssh
rvm_stored_umask => 0022
GIT_PS1_SHOWDIRTYSTATE => true
MEMORY_PRESSURE_WRITE => c29tZSAyMDAwMDAgMjAwMDAwMAA=
MY_RUBY_HOME => /home/ecampere/.rvm/rubies/jruby-9.2.9.0
XMODIFIERS => @im=ibus
DESKTOP_SESSION => gnome-xorg
SSH_AGENT_PID => 221373
EDITOR => /usr/bin/vim
RUBY_VERSION => jruby-9.2.9.0
PWD => /home/ecampere/.config/composer/vendor/laravel/installer/bin
XDG_SESSION_DESKTOP => gnome-xorg
LOGNAME => ecampere
XDG_SESSION_TYPE => x11
MODULESHOME => /usr/share/Modules
rvm_version => 1.29.10 (latest)
MANPATH => /usr/share/man:
rvm_user_install_flag => 1
SYSTEMD_EXEC_PID => 221632
XAUTHORITY => /run/user/1000/gdm/Xauthority
WINDOWPATH => 2
GDM_LANG => pt_BR.UTF-8
__MODULES_SHARE_MANPATH => :1
HOME => /home/ecampere
USERNAME => ecampere
SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass
LANG => pt_BR.UTF-8
LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
XDG_CURRENT_DESKTOP => GNOME
MEMORY_PRESSURE_WATCH => /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
VTE_VERSION => 7606
GNOME_TERMINAL_SCREEN => /org/gnome/Terminal/screen/32a21cd9_5ffa_4f63_8ee5_f4eed92fa8a8
rvm_bin_path => /home/ecampere/.rvm/bin
GEM_PATH => /home/ecampere/.rvm/gems/jruby-9.2.9.0:/home/ecampere/.rvm/gems/jruby-9.2.9.0@global
GEM_HOME => /home/ecampere/.rvm/gems/jruby-9.2.9.0
XDG_SESSION_CLASS => user
TERM => xterm-256color
ASDF_DIR => /home/ecampere/.asdf
LESSOPEN => ||/usr/bin/lesspipe.sh %s
USER => ecampere
GNOME_TERMINAL_SERVICE => :1.95
MODULES_RUN_QUARANTINE => LD_LIBRARY_PATH LD_PRELOAD
rvm_loaded_flag => 1
CLUTTER_DISABLE_MIPMAPPED_TEXT => 1
LOADEDMODULES =>  
DISPLAY => :0
SHLVL => 1
QT_IM_MODULE => ibus
XDG_RUNTIME_DIR => /run/user/1000
PS1 => [\u@\h \W$(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)")]\$ 
__MODULES_LMINIT => module use --append /usr/share/Modules/modulefiles:module use --append /etc/modulefiles:module use --append /usr/share/modulefiles
DEBUGINFOD_URLS => https://debuginfod.fedoraproject.org/ 
DEBUGINFOD_IMA_CERT_PATH => /etc/keys/ima:
KDEDIRS => /usr
XDG_DATA_DIRS => /home/ecampere/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PATH => /home/ecampere/.asdf/shims:/home/ecampere/.asdf/bin:/home/ecampere/.config/composer/vendor/bin:/home/ecampere/.config/composer/vendor/bin:/usr/share/Modules/bin:/home/ecampere/.rvm/gems/jruby-9.2.9.0/bin:/home/ecampere/.rvm/gems/jruby-9.2.9.0@global/bin:/home/ecampere/.rvm/rubies/jruby-9.2.9.0/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin:/home/ecampere/.rvm/bin:/home/ecampere/.composer/vendor/bin:/home/ecampere/bin:/home/ecampere/.rvm/bin:/opt/netbeans/bin/:/home/ecampere/.local/bin:/home/ecampere/bin:/home/ecampere/bin:/home/ecampere/.rvm/bin:/opt/netbeans/bin/
MODULEPATH => /etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles
GDMSESSION => gnome-xorg
DBUS_SESSION_BUS_ADDRESS => unix:path=/run/user/1000/bus
MAIL => /var/spool/mail/ecampere
GIT_PS1_SHOWUNTRACKEDFILES => true
IRBRC => /home/ecampere/.rvm/rubies/jruby-9.2.9.0/.irbrc
rvm_path => /home/ecampere/.rvm
MODULES_CMD => /usr/share/Modules/libexec/modulecmd.tcl
BASH_FUNC_ml%% => () {  module ml "$@"
}
BASH_FUNC_module%% => () {  local _mlredir=1;
 if [ -n "${MODULES_REDIRECT_OUTPUT+x}" ]; then
 if [ "$MODULES_REDIRECT_OUTPUT" = '0' ]; then
 _mlredir=0;
 else
 if [ "$MODULES_REDIRECT_OUTPUT" = '1' ]; then
 _mlredir=1;
 fi;
 fi;
 fi;
 case " $@ " in 
 *' --no-redirect '*)
 _mlredir=0
 ;;
 *' --redirect '*)
 _mlredir=1
 ;;
 esac;
 if [ $_mlredir -eq 0 ]; then
 _module_raw "$@";
 else
 _module_raw "$@" 2>&1;
 fi
}
BASH_FUNC_scl%% => () {  if [ "$1" = "load" -o "$1" = "unload" ]; then
 eval "module $@";
 else
 /usr/bin/scl "$@";
 fi
}
BASH_FUNC__module_raw%% => () {  eval "$(/usr/bin/tclsh '/usr/share/Modules/libexec/modulecmd.tcl' bash "$@")";
 _mlstatus=$?;
 return $_mlstatus
}
_ => /usr/bin/php
OLDPWD => /home/ecampere/.config/composer/vendor/laravel/installer

PHP Variables

Variable => Value
$_SERVER['SHELL'] => /bin/bash
$_SERVER['SESSION_MANAGER'] => local/unix:@/tmp/.ICE-unix/221597,unix/unix:/tmp/.ICE-unix/221597
$_SERVER['COLORTERM'] => truecolor
$_SERVER['HISTCONTROL'] => ignoredups
$_SERVER['XDG_MENU_PREFIX'] => gnome-
$_SERVER['rvm_prefix'] => /home/ecampere
$_SERVER['HISTSIZE'] => 1000
$_SERVER['HOSTNAME'] => everton
$_SERVER['SSH_AUTH_SOCK'] => /run/user/1000/keyring/ssh
$_SERVER['rvm_stored_umask'] => 0022
$_SERVER['GIT_PS1_SHOWDIRTYSTATE'] => true
$_SERVER['MEMORY_PRESSURE_WRITE'] => c29tZSAyMDAwMDAgMjAwMDAwMAA=
$_SERVER['MY_RUBY_HOME'] => /home/ecampere/.rvm/rubies/jruby-9.2.9.0
$_SERVER['XMODIFIERS'] => @im=ibus
$_SERVER['DESKTOP_SESSION'] => gnome-xorg
$_SERVER['SSH_AGENT_PID'] => 221373
$_SERVER['EDITOR'] => /usr/bin/vim
$_SERVER['RUBY_VERSION'] => jruby-9.2.9.0
$_SERVER['PWD'] => /home/ecampere/.config/composer/vendor/laravel/installer/bin
$_SERVER['XDG_SESSION_DESKTOP'] => gnome-xorg
$_SERVER['LOGNAME'] => ecampere
$_SERVER['XDG_SESSION_TYPE'] => x11
$_SERVER['MODULESHOME'] => /usr/share/Modules
$_SERVER['rvm_version'] => 1.29.10 (latest)
$_SERVER['MANPATH'] => /usr/share/man:
$_SERVER['rvm_user_install_flag'] => 1
$_SERVER['SYSTEMD_EXEC_PID'] => 221632
$_SERVER['XAUTHORITY'] => /run/user/1000/gdm/Xauthority
$_SERVER['WINDOWPATH'] => 2
$_SERVER['GDM_LANG'] => pt_BR.UTF-8
$_SERVER['__MODULES_SHARE_MANPATH'] => :1
$_SERVER['HOME'] => /home/ecampere
$_SERVER['USERNAME'] => ecampere
$_SERVER['SSH_ASKPASS'] => /usr/libexec/openssh/gnome-ssh-askpass
$_SERVER['LANG'] => pt_BR.UTF-8
$_SERVER['LS_COLORS'] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
$_SERVER['XDG_CURRENT_DESKTOP'] => GNOME
$_SERVER['MEMORY_PRESSURE_WATCH'] => /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
$_SERVER['VTE_VERSION'] => 7606
$_SERVER['GNOME_TERMINAL_SCREEN'] => /org/gnome/Terminal/screen/32a21cd9_5ffa_4f63_8ee5_f4eed92fa8a8
$_SERVER['rvm_bin_path'] => /home/ecampere/.rvm/bin
$_SERVER['GEM_PATH'] => /home/ecampere/.rvm/gems/jruby-9.2.9.0:/home/ecampere/.rvm/gems/jruby-9.2.9.0@global
$_SERVER['GEM_HOME'] => /home/ecampere/.rvm/gems/jruby-9.2.9.0
$_SERVER['XDG_SESSION_CLASS'] => user
$_SERVER['TERM'] => xterm-256color
$_SERVER['ASDF_DIR'] => /home/ecampere/.asdf
$_SERVER['LESSOPEN'] => ||/usr/bin/lesspipe.sh %s
$_SERVER['USER'] => ecampere
$_SERVER['GNOME_TERMINAL_SERVICE'] => :1.95
$_SERVER['MODULES_RUN_QUARANTINE'] => LD_LIBRARY_PATH LD_PRELOAD
$_SERVER['rvm_loaded_flag'] => 1
$_SERVER['CLUTTER_DISABLE_MIPMAPPED_TEXT'] => 1
$_SERVER['LOADEDMODULES'] => 
$_SERVER['DISPLAY'] => :0
$_SERVER['SHLVL'] => 1
$_SERVER['QT_IM_MODULE'] => ibus
$_SERVER['XDG_RUNTIME_DIR'] => /run/user/1000
$_SERVER['PS1'] => [\u@\h \W$(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)")]\$ 
$_SERVER['__MODULES_LMINIT'] => module use --append /usr/share/Modules/modulefiles:module use --append /etc/modulefiles:module use --append /usr/share/modulefiles
$_SERVER['DEBUGINFOD_URLS'] => https://debuginfod.fedoraproject.org/ 
$_SERVER['DEBUGINFOD_IMA_CERT_PATH'] => /etc/keys/ima:
$_SERVER['KDEDIRS'] => /usr
$_SERVER['XDG_DATA_DIRS'] => /home/ecampere/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
$_SERVER['PATH'] => /home/ecampere/.asdf/shims:/home/ecampere/.asdf/bin:/home/ecampere/.config/composer/vendor/bin:/home/ecampere/.config/composer/vendor/bin:/usr/share/Modules/bin:/home/ecampere/.rvm/gems/jruby-9.2.9.0/bin:/home/ecampere/.rvm/gems/jruby-9.2.9.0@global/bin:/home/ecampere/.rvm/rubies/jruby-9.2.9.0/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin:/home/ecampere/.rvm/bin:/home/ecampere/.composer/vendor/bin:/home/ecampere/bin:/home/ecampere/.rvm/bin:/opt/netbeans/bin/:/home/ecampere/.local/bin:/home/ecampere/bin:/home/ecampere/bin:/home/ecampere/.rvm/bin:/opt/netbeans/bin/
$_SERVER['MODULEPATH'] => /etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles
$_SERVER['GDMSESSION'] => gnome-xorg
$_SERVER['DBUS_SESSION_BUS_ADDRESS'] => unix:path=/run/user/1000/bus
$_SERVER['MAIL'] => /var/spool/mail/ecampere
$_SERVER['GIT_PS1_SHOWUNTRACKEDFILES'] => true
$_SERVER['IRBRC'] => /home/ecampere/.rvm/rubies/jruby-9.2.9.0/.irbrc
$_SERVER['rvm_path'] => /home/ecampere/.rvm
$_SERVER['MODULES_CMD'] => /usr/share/Modules/libexec/modulecmd.tcl
$_SERVER['BASH_FUNC_ml%%'] => () {  module ml "$@"
}
$_SERVER['BASH_FUNC_module%%'] => () {  local _mlredir=1;
 if [ -n "${MODULES_REDIRECT_OUTPUT+x}" ]; then
 if [ "$MODULES_REDIRECT_OUTPUT" = '0' ]; then
 _mlredir=0;
 else
 if [ "$MODULES_REDIRECT_OUTPUT" = '1' ]; then
 _mlredir=1;
 fi;
 fi;
 fi;
 case " $@ " in 
 *' --no-redirect '*)
 _mlredir=0
 ;;
 *' --redirect '*)
 _mlredir=1
 ;;
 esac;
 if [ $_mlredir -eq 0 ]; then
 _module_raw "$@";
 else
 _module_raw "$@" 2>&1;
 fi
}
$_SERVER['BASH_FUNC_scl%%'] => () {  if [ "$1" = "load" -o "$1" = "unload" ]; then
 eval "module $@";
 else
 /usr/bin/scl "$@";
 fi
}
$_SERVER['BASH_FUNC__module_raw%%'] => () {  eval "$(/usr/bin/tclsh '/usr/share/Modules/libexec/modulecmd.tcl' bash "$@")";
 _mlstatus=$?;
 return $_mlstatus
}
$_SERVER['_'] => /usr/bin/php
$_SERVER['OLDPWD'] => /home/ecampere/.config/composer/vendor/laravel/installer
$_SERVER['PHP_SELF'] => Standard input code
$_SERVER['SCRIPT_NAME'] => Standard input code
$_SERVER['SCRIPT_FILENAME'] => 
$_SERVER['PATH_TRANSLATED'] => 
$_SERVER['DOCUMENT_ROOT'] => 
$_SERVER['REQUEST_TIME_FLOAT'] => 1746847919.8963
$_SERVER['REQUEST_TIME'] => 1746847919
$_SERVER['argv'] => Array
(
    [0] => Standard input code
)

$_SERVER['argc'] => 1


 _______________________________________________________________________

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                               
Contribution => Authors
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                               
Contribution => Authors
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                              
Module => Authors
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

224.0 [03:41:13] [I] Entering dir: /go/src/app/dist/static-php-cli/source/embed-test
224.0 [03:41:13] [I] [EXEC] gcc -o embed embed.c -fPIC -I/go/src/app/dist/static-php-cli/buildroot/include -I/go/src/app/dist/static-php-cli/buildroot/include/php -I/go/src/app/dist/static-php-cli/buildroot/include/php/main -I/go/src/app/dist/static-php-cli/buildroot/include/php/TSRM -I/go/src/app/dist/static-php-cli/buildroot/include/php/Zend -I/go/src/app/dist/static-php-cli/buildroot/include/php/ext -L/go/src/app/dist/static-php-cli/buildroot/lib -lphp -lc -lnghttp2 -lzip -lwebp -lwebpdecoder -lwebpdemux -lwebpmux -lsharpyuv -llz4 -ljpeg -lturbojpeg -lavif -lfreetype -lbrotlidec -lbrotlienc -lbrotlicommon -lbz2 -lssl -lcrypto -lxml2 -lz -liconv -lcharset -ldl -lpthread -lm -static
224.0 [03:41:13] [I] Executed at: /go/src/app/dist/static-php-cli/src/SPC/builder/unix/UnixBuilderBase.php:191
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `openIcuConverter':
228.9 encoding.c:(.text+0x118f): undefined reference to `ucnv_open_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11ba): undefined reference to `UCNV_FROM_U_CALLBACK_STOP_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11bf): undefined reference to `ucnv_setFromUCallBack_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11de): undefined reference to `ucnv_open_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11f7): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x1233): undefined reference to `UCNV_TO_U_CALLBACK_STOP_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x1238): undefined reference to `ucnv_setToUCallBack_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `xmlUconvWrapper':
228.9 encoding.c:(.text+0x13ff): undefined reference to `ucnv_convertEx_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x148b): undefined reference to `ucnv_convertEx_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `xmlFindCharEncodingHandler.localalias':
228.9 encoding.c:(.text+0x27a9): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x27b3): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2839): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2842): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2869): undefined reference to `ucnv_close_77'
228.9 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o):encoding.c:(.text+0x2873): more undefined references to `ucnv_close_77' follow
229.2 collect2: error: ld returned 1 exit status
229.2 [03:41:18] [I] Uncaught SPC\exception\RuntimeException: embed failed sanity check: build failed. Error message:  at /go/src/app/dist/static-php-cli/src/SPC/builder/unix/UnixBuilderBase.php(193)
229.2 [03:41:18] [I] #0 /go/src/app/dist/static-php-cli/src/SPC/builder/linux/LinuxBuilder.php(215): SPC\builder\unix\UnixBuilderBase->sanityCheck()
229.2 #1 /go/src/app/dist/static-php-cli/src/SPC/command/BuildPHPCommand.php(211): SPC\builder\linux\LinuxBuilder->buildPHP()
229.2 #2 /go/src/app/dist/static-php-cli/src/SPC/command/BaseCommand.php(106): SPC\command\BuildPHPCommand->handle()
229.2 #3 /go/src/app/dist/static-php-cli/vendor/symfony/console/Command/Command.php(326): SPC\command\BaseCommand->execute()
229.2 #4 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
229.2 #5 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
229.2 #6 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
229.2 #7 /go/src/app/dist/static-php-cli/bin/spc(31): Symfony\Component\Console\Application->run()
229.2 #8 {main}
------
static-build.Dockerfile:24
--------------------
  22 |     # Build the static binary
  23 |     WORKDIR /go/src/app/
  24 | >>> RUN EMBED=dist/app/ ./build-static.sh
--------------------
ERROR: failed to solve: process "/bin/ash -eo pipefail -c EMBED=dist/app/ ./build-static.sh" did not complete successfully: exit code: 1

ecampere avatar May 10 '25 03:05 ecampere

Can you please post the exact list of extensions you tried to build with? This looks like some issue between using libxml2 but no intl extension.

henderkes avatar May 11 '25 10:05 henderkes

Can you please post the exact list of extensions you tried to build with? This looks like some issue between using libxml2 but no intl extension.

Hi @henderkes . The default extensions required for Laravel 12 and composer were used. But declaring the extensions explicitly in the Dockerfile, they are as follows:

RUN EMBED=dist/app/ PHP_EXTENSIONS=ctype,dom,fileinfo,filter,iconv,libxml,mbstring,openssl,phar,session,tokenizer,xml,xmlwriter ./build-static.sh

ecampere avatar May 12 '25 20:05 ecampere

Yeah like I expected, libxml but no intl. Maybe the system icu libraries are taken into account to set the feature check to true. We will have to fix this on the static-php-cli side.

Edit: as a quick fix, add the intl extension.

henderkes avatar May 13 '25 01:05 henderkes

Edit: I guess we won't, because there doesn't seem to be such an error. I can build these extensions and frankenphp with it just fine. bin/spc-alpine-docker build ctype,dom,fileinfo,filter,iconv,libxml,mbstring,openssl,phar,session,tokenizer,xml,xmlwriter --build-embed --enable-zts --debug

Installing PHP SAPI module:       embed
[04:50:37] [I] Patching phpize prefix
[04:50:37] [I] Replacing file with type[1]: /app/buildroot/bin/phpize
[04:50:37] [I] Replacing file with type[1]: /app/buildroot/bin/phpize
[04:50:37] [I] Patching php-config prefix and libs order
[04:50:37] [I] running embed sanity check
[04:50:37] [I] Entering dir: /app/source/embed-test
[04:50:37] [I] [EXEC] gcc -o embed embed.c -fPIC -I/app/buildroot/include -I/app/buildroot/include/php -I/app/buildroot/include/php/main -I/app/buildroot/include/php/TSRM -I/app/buildroot/include/php/Zend -I/app/buildroot/include/php/ext -L/app/buildroot/lib -lphp -lc -lssl -lcrypto -lxml2 -lz -liconv -lcharset -ldl -lpthread -lm -static
[04:50:37] [I] Executed at: /app/src/SPC/builder/unix/UnixBuilderBase.php:191
[04:50:38] [I] Entering dir: /app/source/embed-test
[04:50:38] [I] [EXEC] ./embed
[04:50:38] [I] Executed at: /app/src/SPC/builder/unix/UnixBuilderBase.php:203
[04:50:38] [I]
[04:50:38] [I]    Build complete, used 155.496 s !
[04:50:38] [I]
[04:50:38] [I] Removing path recursively: "/app/buildroot/license"
[04:50:38] [I] scanning directory /app/buildroot/license
[04:50:38] [I] Making new directory recursive: /app/buildroot/license
[04:50:38] [I] License path (host system): /home/m/static-php-cli/buildroot/license/

henderkes avatar May 14 '25 04:05 henderkes

I can't run the frankenphp builder directly after the latest changes in main.

@dunglas

docker build -t static-builder-musl   -f static-builder-musl.Dockerfile   --build-arg PHP_EXTENSIONS="ctype,dom,fileinfo,filter,iconv,libxml,mbstring,openssl,phar,session,tokenizer,xml,xmlwriter"   .

leads to

 => CANCELED [internal] load metadata for docker.io/composer/composer:2-bin                                        2.0s
 => ERROR [internal] load metadata for docker.io/library/golang-base:latest                                        2.0s
------
 > [internal] load metadata for docker.io/library/golang-base:latest:
------
static-builder-musl.Dockerfile:5
--------------------
   3 |     #checkov:skip=CKV_DOCKER_3
   4 |     #checkov:skip=CKV_DOCKER_7
   5 | >>> FROM golang-base
   6 |
   7 |     ARG TARGETARCH
--------------------
ERROR: failed to solve: golang-base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

after changing to golang:alpine:

[m@M-NB frankenphp]$ docker build -t static-builder-musl   -f static-builder-musl.Dockerfile   --build-arg PHP_EXTENSIONS="ctype,dom,fileinfo,filter,iconv,libxml,mbstring,openssl,phar,session,tokenizer,xml,xmlwriter"   .
[+] Building 2.8s (14/20)                                                                                docker:default
 => [internal] load build definition from static-builder-musl.Dockerfile                                           0.0s
 => => transferring dockerfile: 2.36kB                                                                             0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1                                          0.9s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb779696  0.0s
 => [internal] load metadata for docker.io/composer/composer:2-bin                                                 0.9s
 => [internal] load metadata for docker.io/library/golang:alpine                                                   0.9s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 218B                                                                                  0.0s
 => [stage-0  1/12] FROM docker.io/library/golang:alpine@sha256:ef18ee7117463ac1055f5a370ed18b8750f01589f13ea0b48  0.0s
 => FROM docker.io/composer/composer:2-bin@sha256:a80b4fafbb5427e57f40a4f845415185bdc0461e280066d27baefaf3734e7a9  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 25.69kB                                                                               0.0s
 => CACHED [stage-0  2/12] RUN apk update;  apk add --no-cache   alpine-sdk   autoconf   automake   bash   binuti  0.0s
 => CACHED [stage-0  3/12] COPY --from=composer/composer:2-bin /composer /usr/bin/composer                         0.0s
 => CACHED [stage-0  4/12] WORKDIR /go/src/app                                                                     0.0s
 => CACHED [stage-0  5/12] COPY go.mod go.sum ./                                                                   0.0s
 => ERROR [stage-0  6/12] RUN go mod download                                                                      0.7s
------
 > [stage-0  6/12] RUN go mod download:
0.694 go: github.com/beorn7/[email protected]: Get "https://proxy.golang.org/github.com/beorn7/perks/@v/v1.0.1.mod": read tcp 172.17.0.2:48860->142.250.199.49:443: read: connection reset by peer
------
static-builder-musl.Dockerfile:86
--------------------
  84 |     WORKDIR /go/src/app
  85 |     COPY go.mod go.sum ./
  86 | >>> RUN go mod download
  87 |
  88 |     WORKDIR /go/src/app/caddy
--------------------
ERROR: failed to solve: process "/bin/ash -eo pipefail -c go mod download" did not complete successfully: exit code: 1

henderkes avatar May 14 '25 05:05 henderkes

You need to use docker buildx bake to build our Docker images: https://frankenphp.dev/docs/contributing/#building-docker-images-locally

The second error just looks like a network error on your side.

dunglas avatar May 14 '25 05:05 dunglas

That must have changed, I was able to build the images without buildx before. Thanks though, good to know moving forward.

henderkes avatar May 14 '25 09:05 henderkes

Errors here, too on building standalone Laravel

I have followed the steps as described here https://frankenphp.dev/docs/laravel/#laravel-apps-as-standalone-binaries

I have run this cmd: docker build -t static-laravel-app -f static-build.Dockerfile .

but after long output, the warning appeared and errors.

I don't know what to do, seems too complex to pick a path. Thanks for any clue.

Here is the output when warnings started

There appears several undefined reference

```
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libnghttp2.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libzip.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libwebp.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libwebpdecoder.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libwebpdemux.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libwebpmux.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libsharpyuv.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/liblz4.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libjpeg.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libturbojpeg.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libavif.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libfreetype.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libbrotlidec.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libbrotlienc.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libbrotlicommon.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libbz2.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libssl.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libcrypto.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libz.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libiconv.a is not portable!
286.4 
286.4 *** Warning: Linking the shared library libphp.la against the
286.4 *** static library /go/src/app/dist/static-php-cli/buildroot/lib/libcharset.a is not portable!
292.2 copying selected object files to avoid basename conflicts...
299.1 Installing PHP SAPI module:       embed
299.4 [17:16:26] [I] Patching phpize prefix
299.4 [17:16:26] [I] Replacing file with type[1]: /go/src/app/dist/static-php-cli/buildroot/bin/phpize
299.4 [17:16:26] [I] Replacing file with type[1]: /go/src/app/dist/static-php-cli/buildroot/bin/phpize
299.4 [17:16:26] [I] Patching php-config prefix and libs order
299.4 [17:16:26] [I] running embed sanity check
299.4 [17:16:26] [I] Entering dir: /go/src/app/dist/static-php-cli/source/embed-test
299.4 [17:16:26] [I] [EXEC] gcc -o embed embed.c -fPIC -I/go/src/app/dist/static-php-cli/buildroot/include -I/go/src/app/dist/static-php-cli/buildroot/include/php -I/go/src/app/dist/static-php-cli/buildroot/include/php/main -I/go/src/app/dist/static-php-cli/buildroot/include/php/TSRM -I/go/src/app/dist/static-php-cli/buildroot/include/php/Zend -I/go/src/app/dist/static-php-cli/buildroot/include/php/ext -L/go/src/app/dist/static-php-cli/buildroot/lib -lphp -lc -lnghttp2 -lzip -lwebp -lwebpdecoder -lwebpdemux -lwebpmux -lsharpyuv -llz4 -ljpeg -lturbojpeg -lavif -lfreetype -lbrotlidec -lbrotlienc -lbrotlicommon -lbz2 -lssl -lcrypto -lxml2 -lz -liconv -lcharset -ldl -lpthread -lm -static
299.4 [17:16:26] [I] Executed at: /go/src/app/dist/static-php-cli/src/SPC/builder/unix/UnixBuilderBase.php:191
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `openIcuConverter':
300.3 encoding.c:(.text+0x118f): undefined reference to `ucnv_open_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11ba): undefined reference to `UCNV_FROM_U_CALLBACK_STOP_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11bf): undefined reference to `ucnv_setFromUCallBack_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11de): undefined reference to `ucnv_open_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x11f7): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x1233): undefined reference to `UCNV_TO_U_CALLBACK_STOP_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x1238): undefined reference to `ucnv_setToUCallBack_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `xmlUconvWrapper':
300.3 encoding.c:(.text+0x13ff): undefined reference to `ucnv_convertEx_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x148b): undefined reference to `ucnv_convertEx_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o): in function `xmlFindCharEncodingHandler.localalias':
300.3 encoding.c:(.text+0x27a9): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x27b3): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2839): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2842): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: encoding.c:(.text+0x2869): undefined reference to `ucnv_close_77'
300.3 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /go/src/app/dist/static-php-cli/buildroot/lib/libxml2.a(encoding.c.o):encoding.c:(.text+0x2873): more undefined references to `ucnv_close_77' follow
300.5 collect2: error: ld returned 1 exit status
300.5 [17:16:27] [I] Uncaught SPC\exception\RuntimeException: embed failed sanity check: build failed. Error message:  at /go/src/app/dist/static-php-cli/src/SPC/builder/unix/UnixBuilderBase.php(193)
300.5 [17:16:27] [I] #0 /go/src/app/dist/static-php-cli/src/SPC/builder/linux/LinuxBuilder.php(215): SPC\builder\unix\UnixBuilderBase->sanityCheck()
300.5 #1 /go/src/app/dist/static-php-cli/src/SPC/command/BuildPHPCommand.php(211): SPC\builder\linux\LinuxBuilder->buildPHP()
300.5 #2 /go/src/app/dist/static-php-cli/src/SPC/command/BaseCommand.php(106): SPC\command\BuildPHPCommand->handle()
300.5 #3 /go/src/app/dist/static-php-cli/vendor/symfony/console/Command/Command.php(326): SPC\command\BaseCommand->execute()
300.5 #4 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
300.5 #5 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
300.5 #6 /go/src/app/dist/static-php-cli/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
300.5 #7 /go/src/app/dist/static-php-cli/bin/spc(31): Symfony\Component\Console\Application->run()
300.5 #8 {main}
------

 1 warning found (use docker --debug to expand):
 - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" (line 1)
static-build.Dockerfile:23
--------------------
  21 |     # Build the static binary
  22 |     WORKDIR /go/src/app/
  23 | >>> RUN EMBED=dist/app/ ./build-static.sh
--------------------
ERROR: failed to solve: process "/bin/ash -eo pipefail -c EMBED=dist/app/ ./build-static.sh" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/qoqkmiwdpu9ziq1h5tri9r1mw
```

danve avatar May 14 '25 17:05 danve

Same error as the opening poster, but I still cannot reproduce it when manually specifying the extensions.

henderkes avatar May 15 '25 01:05 henderkes

Ah, I think I may know why. The Docker script probably uses pre built libraries, which were built with icu support. We don't have a good way of separating pre built libraries by feature set yet. @crazywhalecc what do we do with this?

henderkes avatar May 15 '25 01:05 henderkes

@danve @ecampere while we're working on a fix, please add the intl extension to the list. Alternatively, you'll have to change the images build-static.sh and remove --prefer-prebuilt.

henderkes avatar May 15 '25 09:05 henderkes

Was fixed upstream, we no longer publish prebuilt libraries with optional dependencies.

henderkes avatar Oct 26 '25 08:10 henderkes