[Bug 210756] www/php56-opcache: does not install zend_extension correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 2 04:47:12 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210756

            Bug ID: 210756
           Summary: www/php56-opcache: does not install zend_extension
                    correctly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: majo-bugs.freebsd.org at cerny.sk
          Assignee: ale at FreeBSD.org
             Flags: maintainer-feedback?(ale at FreeBSD.org)

The latest change

    Convert USE_PHP*=yes into USES=php*

brakes installation of opcache extension into extensions.ini. It must be
installed as zend_extension=..., but is installed as extension=..., which
produces the following error when launching php:

    PHP Warning:  PHP Startup: Invalid library (appears to be a Zend Extension,
try loading using zend_extension=opcache.so from php.ini) in Unknown on line 0

The problem is that www/php56-opcache/Makefile defines:

    USES=       php:zend

but includes lang/php56/Makefile, which redefines USES with:

    USES=          tar:bzip2 cpe

Changing USES= to USES+= in lang/php56/Makefile fixes the problem.

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


More information about the freebsd-ports-bugs mailing list