[php-src] Issue #21822: PHP Warning: Module "FFI" is already loaded in Unknown on line 0
| From: | remco-pc | Date: | Tue, 21 Apr 2026 14:41:37 +0000 |
| Subject: | [php-src] Issue #21822: PHP Warning: Module "FFI" is already loaded in Unknown on line 0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251994@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21822
Author: remco-pc
### Description
i've changed the ffi settings to:
```ini
extension=ffi
ffi.enable=true
```
and this is causing this error:
PHP Warning: Module "FFI" is already loaded in Unknown on line 0
and i've changed these values both in cli and web
### PHP Version
```plain
PHP Warning: Module "FFI" is already loaded in Unknown on line 0
PHP 8.4.20 (cli) (built: Apr 11 2026 07:44:29) (NTS)
Copyright (c) The PHP Group
Built by Debian
Zend Engine v4.4.20, Copyright (c) Zend Technologies
with Zend OPcache v8.4.20, Copyright (c), by Zend Technologies
```
### Operating System
Debian 12.11