| Summary: | www/php56-opcache: does not install zend_extension correctly | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Marián Černý <majo-bugs.freebsd.org> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(ale) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
This has been already fixed in revision 418143[1] on Wed, 6 Jul 2016:
Fix the opcache ports, the fact that they are zend extensions was ignored.
MFH: 2016Q3
Sponsored by: Absolight
[1] https://www.freshports.org/commit.php?message_id=201607062004.u66K40PW071393@repo.freebsd.org&files=yes
|
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.