Doc #69932 [Opn->Wfx]: PHP Changelog should specifically state ZendOpcache version supported

From: Date: Fri, 25 Jan 2019 16:06:41 +0000
Subject: Doc #69932 [Opn->Wfx]: PHP Changelog should specifically state ZendOpcache version supported
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16367@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69932&edit=1 ID: 69932 Updated by: nikic@php.net Reported by: david at davidfavor dot com Summary: PHP Changelog should specifically state ZendOpcache version supported -Status: Open +Status: Wont fix Type: Documentation Problem Package: Documentation problem Operating System: Ubuntu 15.04 PHP Version: 5.6.10 Block user comment: N Private report: N New Comment: opcache is bundled since PHP 5.5, i.e. it's always compatible with the PHP version it ships with. The ZendOpcache PECL package is unmaintained since then and I doubt anyone is going to update it to fix the specified version dependencies in package.xml (if it's possible to do that retroactively at all), so I'm going to mark this as Won't Fix. Previous Comments: ------------------------------------------------------------------------ [2015-06-25 13:46:32] david at davidfavor dot com Also https://pecl.php.net/package/ZendOpcache contains an error. Release 7.0.5 supports Version: PHP 5.2.0 or newer - false, will not compile on 5.6.x any version. Release 7.0.4 supports Version: PHP 5.2.0 or newer - false, as it appears this should always say 7.0.4-beta, rather than the implied 7.0.4-stable. ------------------------------------------------------------------------ [2015-06-25 13:35:24] david at davidfavor dot com Description: ------------ Trying to figure out the maximum version of ZendOpcache supported on each version of PHP is difficult. For example, https://pecl.php.net/package/ZendOpcache shows... 7.0.5 stable 7.0.4 stable PHP 5.6.4 (Ubuntu) shows 7.0.4-dev so this seems to indicate running pecl install will install 7.0.4-stable which is not the case. # pecl install zendopcache pecl/zendopcache requires PHP (version >= 5.2.0, version <= 5.5.0), installed version is 5.6.4-4ubuntu6 No valid packages found install failed This message gives no useful information + trying to install latest produces an even worse message... # pecl install -f zendopcache-7.0.5 /tmp/pear/temp/zendopcache/ZendAccelerator.c:39:35: fatal error: TSRM/tsrm_virtual_cwd.h: No such file or directory #include "TSRM/tsrm_virtual_cwd.h" After reading many bug reports it appears... PHP-5.6.x includes zendopcache-7.0.4-beta PHP-7x will include zendopcache-7.0.5 And this is just a guess, as this is documented no where easily found. Please add a simple line to each PHP changelog saying the exact version of opcache which is included/supported. Thanks. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69932&edit=1

« previous php.doc.bugs (#16367) next »