-
|
I was installing frankenphp in CI (github actions ubuntu-m), via the shell cmd, first it failed since strangely it couldn't start since 2019 port was taken. Class FFI not found This wasn't a problem with previous release i think |
Beta Was this translation helpful? Give feedback.
Answered by
henderkes
Nov 25, 2025
Replies: 1 comment 2 replies
-
|
You need to install the ffi extension. [m@M-NB ~]$ php-zts --ri ffi
Extension 'ffi' not present.
[m@M-NB ~]$ sudo dnf install php-zts-ffi
Last metadata expiration check: 0:13:57 ago on Tue 25 Nov 2025 01:38:20 PM CET.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Installing:
php-zts-ffi x86_64 8.5.0_85-1 static-php 82 k
Transaction Summary
========================================================================================================================
Install 1 Package
Total download size: 82 k
Installed size: 225 k
Is this ok [y/N]: y
Downloading Packages:
php-zts-ffi-8.5.0_85-1.x86_64.rpm 327 kB/s | 82 kB 00:00
------------------------------------------------------------------------------------------------------------------------
Total 325 kB/s | 82 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : php-zts-ffi-8.5.0_85-1.x86_64 1/1
Running scriptlet: php-zts-ffi-8.5.0_85-1.x86_64 1/1
Installed:
php-zts-ffi-8.5.0_85-1.x86_64
Complete!
[m@M-NB ~]$ php-zts --ri ffi
FFI
FFI support => enabled
Directive => Local Value => Master Value
ffi.enable => preload => preload
ffi.preload => /usr/share/php-zts/preload/*.h:/usr/local/share/php-zts/preload/*.h => /usr/share/php-zts/preload/*.h:/usr/local/share/php-zts/preload/*.h |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, performance and availability of extensions. It's also a real "installation", like the name
install.shimplies.For production you should prefer the deb packages over the static binary. For CI the static binary is perfect.