Doc #69932 [Com]: PHP Changelog should specifically state ZendOpcache version supported

From: Date: Thu, 25 Jun 2015 13:46:33 +0000
Subject: Doc #69932 [Com]: PHP Changelog should specifically state ZendOpcache version supported
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12475@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 Comment by: david at davidfavor dot com Reported by: david at davidfavor dot com Summary: PHP Changelog should specifically state ZendOpcache version supported Status: Open 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: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#12475) next »