[Pkg-php-pecl] Bug#782618: php5-apcu package is broken
Matteo Sisti Sette
matteosistisette at gmail.com
Tue Apr 14 21:19:10 UTC 2015
Package: php5-apcu
Version: 5.4.39
What I did:
1) I ran:
apt-get install php5-apcu
2) I copied the file apcu.so that was installed in a random directory to
the correct directory for PHP extensions
3) I added this to php.ini:
extension=apcu.so
4) I restarted apache, and tested by requesting from a browser a PHP
script that calls phpinfo()
5) I ran "php -m"
Expected behavior:
apcu should work
Observed:
4 - phpinfo() (called via web) would show nothing about apcu
5 - "php -m" from the CLI showed an error message, more or less like
"apcu: cannot initialize module" (or "extension", don't remember exactly)
So I uninstalled it (apt-get remove), and I installed it with pecl:
pecl install channel://pecl.php.net/apcu-4.0.7
I repeated steps 2-5 and this time it worked like a charm.
So: apcu installed from pecl works fine. The debian package, OTOH, is
broken.
PS. I don't really know which version it was. I just ran
apt-get install php5-apcu
so the actual version is whatever is installed by default.
Here's my version of Debian:
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy
More information about the Pkg-php-pecl
mailing list