You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Packages requiring ext-utopia allow PHP < 8.5, but the extension only loads on PHP 8.5 #15948
utopia-php/auth 0.13.0 declares "php": ">=8.3" and requires ext-utopia, but the extension only works on PHP 8.5:
PHP 8.3: doesn't compile. crates/extension/src/classes/engine.rs:302 calls is_lazy(), which ext-php-rs only provides for PHP 8.4+.
error[E0599]: no method named `is_lazy` found for mutable reference `&'a mut _zend_object`
PHP 8.4: compiles, but PHP can't load it. engine.rs:83 declares and :1234 calls zend_undefined_method, which only PHP 8.5's engine exports.
Unable to load dynamic library 'utopia.so' (Error relocating utopia.so: zend_undefined_method: symbol not found)
Seen while building utopia-base for each PHP version (utopia-php/docker-base#28). So auth 0.13 installs on 8.3 and 8.4, but its password hashes can't load there. The same applies to the other packages that require ext-utopia and declare PHP below 8.5.
Possible fixes
Raise packages that require ext-utopia to "php": ">=8.5"; or
gate the 8.4 and 8.5-only engine calls by PHP version so the extension builds and loads on older versions.
changed the title [-]utopia-php/auth 0.13 allows PHP 8.3, but ext-utopia needs PHP 8.4[/-][+]Packages requiring ext-utopia allow PHP < 8.5, but the extension only loads on PHP 8.5[/+]on Nov 23, 2026
Activity
[-]utopia-php/auth 0.13 allows PHP 8.3, but ext-utopia needs PHP 8.4[/-][+]Packages requiring ext-utopia allow PHP < 8.5, but the extension only loads on PHP 8.5[/+]