Bug #80459 [Com]: pecl/mcrypt is not compatible with PHP version 8.0.0

From: Date: Mon, 13 Dec 2021 12:58:48 +0000
Subject: Bug #80459 [Com]: pecl/mcrypt is not compatible with PHP version 8.0.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238370@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80459&edit=1

 ID:                 80459
 Comment by:         ataryx at hotmali dot com
 Reported by:        julien dot maurz at gmail dot com
 Summary:            pecl/mcrypt is not compatible with PHP version 8.0.0
 Status:             Closed
 Type:               Bug
 Package:            mcrypt related
 Operating System:   FROM php:8.0.0-apache-buster
 PHP Version:        8.0.0
 Assigned To:        nikic
 Block user comment: N
 Private report:     N

 New Comment:

Same here, PHP 8.1.0, latest mcrypt 1.0.4

To reproduce, build the following Dockerfile:

FROM php:fpm

RUN apt-get update && apt-get install -y libmcrypt-dev

RUN pecl update-channels && pecl install mcrypt-1.0.4 && docker-php-ext-enable
mcrypt


Previous Comments:
------------------------------------------------------------------------
[2020-12-02 10:17:10] nikic@php.net

mcrypt 1.0.4 with support for PHP 8 has been released.

Please note that mcrypt is not actively maintained and may not be supported for future PHP versions.

------------------------------------------------------------------------
[2020-12-02 01:09:13] requinix@php.net

It's a bit weird, but the configuration is

<php>
  <min>7.2.0</min>
  <max>8.0.0</max>
  <exclude>8.0.0</exclude>
</php>

which effectively means it's compatible with >=7.2.0 and <8.0.0 (aka 7.2-7.4).
So it isn't actually compatible with 8.0 yet.

Though it looks like there's been some recent activity to add support...

But please, 8.0 was *just* released. People and (non-core) extensions need time to catch up. Be
patient.

------------------------------------------------------------------------
[2020-12-02 00:23:33] julien dot maurz at gmail dot com

Description:
------------
I use official image docker "php:8.0.0-apache-buster"

I actually need mcrypt on my current production servers stack.

I wanted to test and bench php8.0.0 but the installation of mcrypt fails at the beginning:
"pecl/mcrypt is not compatible with PHP version 8.0.0"


But the package description https://pecl.php.net/package/mcrypt says that it is
supposed to be compatible : "PHP Version: PHP version 8.0.0 or older"

Test script:
---------------
apt-get install -y libmcrypt-dev
pecl update-channels
pecl install mcrypt-1.0.3


Expected result:
----------------
installation ok

Actual result:
--------------
pecl/mcrypt is not compatible with PHP version 8.0.0


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80459&edit=1


Thread (5 messages)

« previous php.bugs (#238370) next »