[MacPorts] #61735: php74-apachehandler -> when loading module mod_php in httpd.conf throws: Library not loaded: @rpath/libargon2.1.dylib

MacPorts noreply at macports.org
Thu Dec 3 19:07:16 UTC 2020


#61735: php74-apachehandler -> when loading module mod_php in httpd.conf  throws:
Library not loaded: @rpath/libargon2.1.dylib
-----------------------------------+--------------------------------------
  Reporter:  elcheco               |      Owner:  ryandesign
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.6.4
Resolution:                        |   Keywords:  php-apachehandler argon2
      Port:  php74-apache2handler  |
-----------------------------------+--------------------------------------
Description changed by elcheco:

Old description:

> 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

New description:

 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/61735#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list