There's a merged pull request on the void-packages repository php: fix cross build https://github.com/void-linux/void-packages/pull/22019 Description: Dynamic loading of extensions was disabled, because configure cannot determine if dlopen is available (executes test program). Override this test by using values taken from a native build. closes #21982 and closes #21852 Did a short test run on armv7l, extensions are now found. The short test one-liner from #21852 `php -r 'new SQLite3("db");'` works, too.