Opened 4 years ago
Last modified 4 years ago
#61735 closed defect
php74-apachehandler -> when loading module mod_php in httpd.conf throws: Library not loaded: @rpath/libargon2.1.dylib — at Version 1
Reported by: | elcheco (Miroslav Koula) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | haspatch | Cc: | |
Port: | php72 php73 php74 php80 argon2 |
Description (last modified by elcheco (Miroslav Koula))
I think it's maybe connected to today's update of php74/8.0
I updated 7.4 and installed 8.0 - as fpm - it works, but when I have one as module - it dies and before it worked.
❯ apachectl configtest
httpd: Syntax error on line 166 of /opt/local/etc/apache2/httpd.conf: Cannot load lib/apache2/modules/mod_php74.so into server: dlopen(/opt/local/lib/apache2/modules/mod_php74.so, 10): Library not loaded: @rpath/libargon2.1.dylib\n Referenced from: /opt/local/lib/apache2/modules/mod_php74.so\n Reason: image not found
If I comment the line in https.conf where the module is loaded, the issue is gone and apache works - so the PHP I can have only as fpm:
LoadModule php7_module lib/apache2/modules/mod_php74.so
Change History (1)
comment:1 Changed 4 years ago by elcheco (Miroslav Koula)
Description: | modified (diff) |
---|