Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2022 07:04:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261488] www/php81-opcache Incorrect .ini file causes PHP Warning:  PHP Startup: Invalid library
Message-ID:  <bug-261488-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261488

            Bug ID: 261488
           Summary: www/php81-opcache Incorrect .ini file causes PHP
                    Warning:  PHP Startup: Invalid library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: mfburdett@gmail.com
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Installed www/php81-opcache with the cli lang/php81 and got this error when
running php: PHP Warning:  PHP Startup: Invalid library (appears to be a Ze=
nd
Extension, try loading using zend_extension=3Dopcache.so from php.ini) in U=
nknown
on line 0

Looks like the installed /usr/local/etc/php/ext-10-opcache.ini file is
incorrect, it contains extension=3Dopcache.so rather than
zend_extension=3Dopcache.so

Looking at the Makefile, www/php80-opcache has this line:

USES=3D   php:zend,noflavors

but this line is missing for www/php81-opcache

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261488-7788>