Bug #74211 [Opn]: pecl-apcu disables mmap when configure is called with --enable-apcu-mmap

From: Date: Mon, 06 Mar 2017 12:13:37 +0000
Subject: Bug #74211 [Opn]: pecl-apcu disables mmap when configure is called with --enable-apcu-mmap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207702@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74211&edit=1 ID: 74211 User updated by: f dot niepelt at mittwald dot de Reported by: f dot niepelt at mittwald dot de Summary: pecl-apcu disables mmap when configure is called with --enable-apcu-mmap Status: Open Type: Bug Package: *General Issues Operating System: Gentoo/openSUSE Tumbleweed PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Also reported upstream on github since it is unclear what is the correct place to report it to: https://github.com/krakjoe/apcu/issues/234 Previous Comments: ------------------------------------------------------------------------ [2017-03-06 11:21:03] f dot niepelt at mittwald dot de Description: ------------ Hello, package affected should be PECL Apcu which does not seem to exist in the Package affected list. When calling ./configure --enable-apcu-mmap, the script decides to not use mmap, but when omitting that option it does use mmap. ./configure --help only documents disable-apcu-mmap, so either the documentation is wrong or the implementation because clearly "enable-apcu-mmap" is changing the behaviour in a neither expected nor documented way. PHP Version: 7.1.2 APCU Version: 5.1.8 Reproduced on Gentoo and openSUSE Tumbleweed. Greetings Fabian Test script: --------------- #!/bin/bash wget "https://pecl.php.net/get/apcu-5.1.8.tgz" tar xzf apcu-5.1.8.tgz cd apcu-5.1.8/ phpize ./configure --enable-apcu-mmap | grep "checking if APCu will use mmap or shm" Expected result: ---------------- checking if APCu will use mmap or shm... mmap Actual result: -------------- checking if APCu will use mmap or shm... shm ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74211&edit=1

« previous php.bugs (#207702) next »