You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when building the composer package from PHP built with buildPhpFromComposer (using loophp/nix-shell flake), the underlying derivation composer-local-repo-plugin fails as it is unable to start FFI module because it could not find the file mentioned in the option ffi.preload.
gaelreyrol
changed the title
Unable to set PHP ini option ffi.preload while build PHP from Composer
Unable to use PHP ini option ffi.preloadNov 4, 2023
As said in the OpenTelemetry PHP documentation, fibers support can be enabled with
OTEL_PHP_FIBERS_ENABLED
.Using non-
CLI
SAPIs (e.g. fpm, fastcgi) may require to preload some bindings like:But when building the
composer
package from PHP built withbuildPhpFromComposer
(using loophp/nix-shell flake), the underlying derivationcomposer-local-repo-plugin
fails as it is unable to start FFI module because it could not find the file mentioned in the optionffi.preload
.nix log /nix/store/0jp32vgnhlr0ks6ky2z4sylmqrj0dwpw-composer-local-repo-plugin-1.0.3.drv
:The PHP derivation built from
buildPhpFromComposer
has the option but it does not contain the file fromffi.preload
.The text was updated successfully, but these errors were encountered: