[MacPorts] #66660: Certain older PHP version opcache modules don't work properly on Ventura anymore

MacPorts noreply at macports.org
Tue Jan 10 10:32:31 UTC 2023


#66660: Certain older PHP version opcache modules don't work properly on Ventura
anymore
--------------------+-----------------------------------------
 Reporter:  hostep  |      Owner:  ryandesign
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  php72-opcache php73-opcache
--------------------+-----------------------------------------
 Hi there

 A colleague of mine updated his macOS to Ventura (13) and tried to install
 a bunch of PHP versions with the opcache module.
 The installation went fine, but at execution time, the following error
 showed up for PHP 7.2 and 7.3 (it works fine with 7.4, 8.0 and 8.1), when
 executing something via PHP on the command line:

 {{{
 Failed loading /opt/local/lib/php72/extensions/no-debug-non-
 zts-20170718/opcache.so:  dlopen(/opt/local/lib/php72/extensions/no-debug-
 non-zts-20170718/opcache.so, 0x0009): symbol not found in flat namespace
 '_zend_file_cache_invalidate'

 or

 Failed loading /opt/local/lib/php73/extensions/no-debug-non-
 zts-20180731/opcache.so:  dlopen(/opt/local/lib/php73/extensions/no-debug-
 non-zts-20180731/opcache.so, 0x0009): symbol not found in flat namespace
 '_zend_file_cache_invalidate'
 }}}

 This is using an Intel processor if that should matter.

 No idea if an easy fix exist for this and if you guys still support these
 older PHP versions?
 This still works fine for me on macOS Monterey (12).

 Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/66660>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list