« 需求 运行时配置 » PHP Manual 安装/配置 安装 安装 To enable the FFI extension, PHP has to be configured with --with-ffi[=DIR] . Windows users have to include php_ffi.dll into php.ini to enable the FFI extension.