See e.g. https://integration.wikimedia.org/ci/job/mw-tools-phan-demos-publish/317/console for [[https://gerrit.wikimedia.org/r/c/mediawiki/tools/phan/SecurityCheckPlugin/+/1063016 | r1063016 ]]:
```
+ emconfigure ./configure --disable-all --disable-cgi --disable-cli --disable-rpath --disable-phpdbg --with-valgrind=no --without-pear --without-valgrind --without-pcre-jit --with-layout=GNU --enable-ast --enable-bcmath --enable-ctype --enable-embed=static --enable-filter --enable-json --enable-phar --enable-mbstring --disable-mbregex --enable-tokenizer
configure: ./configure --disable-all --disable-cgi --disable-cli --disable-rpath --disable-phpdbg --with-valgrind=no --without-pear --without-valgrind --without-pcre-jit --with-layout=GNU --enable-ast --enable-bcmath --enable-ctype --enable-embed=static --enable-filter --enable-json --enable-phar --enable-mbstring --disable-mbregex --enable-tokenizer
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/srv/demo/php-7.4.16':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
emconfigure: error: './configure --disable-all --disable-cgi --disable-cli --disable-rpath --disable-phpdbg --with-valgrind=no --without-pear --without-valgrind --without-pcre-jit --with-layout=GNU --enable-ast --enable-bcmath --enable-ctype --enable-embed=static --enable-filter --enable-json --enable-phar --enable-mbstring --disable-mbregex --enable-tokenizer' failed (1)
```