Your message dated Wed, 15 Apr 2015 06:45:13 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-php-pecl] Bug#782618: php5-apcu package is broken
has caused the Debian Bug report #782618,
regarding php5-apcu package is broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
782618: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782618
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Matteo,
I very much doubt that you are doing apt-get install php5-apcu with packaged
PHP 5.4, since php5-apcu is not available for Debian wheezy that has PHP 5.4.
The "random directory" is in fact a PHPAPI version that apcu was compiled
against (PHP 5.6) and you are trying to use that extension with different
PHPAPI version (PHP 5.4).
Mixing random packages between different releases is not supported and it never
was, sorry.
Closing the bug as invalid.
Cheers,
Ondřej
On April 14, 2015 11:19:10 PM GMT+02:00, Matteo Sisti Sette
<[email protected]> wrote:
>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
>
>_______________________________________________
>Pkg-php-pecl mailing list
>[email protected]
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-pecl
--
Ondřej Surý
--- End Message ---