Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcrypt with PHP 8.3 not supported #840

Closed
llaville opened this issue Nov 28, 2023 · 1 comment · Fixed by #842
Closed

mcrypt with PHP 8.3 not supported #840

llaville opened this issue Nov 28, 2023 · 1 comment · Fixed by #842
Labels
bug Something isn't working

Comments

@llaville
Copy link
Contributor

Version of install-php-extensions

2.1.66

Error description

mcrypt extension with stable PHP 8.3.0 seems not supported, while it's still marked in README page as compatible.

Using PHP 8.3.0 fpm bookworm docker image on Ubuntu 22.04 LTS

#14 [build-version-8300  4/67] RUN install-php-extensions mcrypt
#14 0.626 install-php-extensions v.2.1.66
#14 0.626 #StandWithUkraine
#14 2.360 Updating channel "pecl.php.net"
#14 2.560 Channel "pecl.php.net" is up to date
#14 2.634 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#14 2.718 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
#14 2.779 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#14 2.837 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8780 kB]
#14 5.602 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6668 B]
#14 5.623 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [105 kB]
#14 6.534 Fetched 9143 kB in 4s (2324 kB/s)
#14 6.534 Reading package lists...
#14 8.967 ### INSTALLING REQUIRED PACKAGES ###
#14 8.967 # Packages to be kept after installation: libmcrypt4
#14 8.967 # Packages to be used only for installation: libmcrypt-dev
#14 9.963 debconf: delaying package configuration, since apt-utils is not installed
#14 10.03 Selecting previously unselected package libmcrypt4.
(Reading database ... 13435 files and directories currently installed.)
#14 10.03 Preparing to unpack .../libmcrypt4_2.5.8-7_amd64.deb ...
#14 10.05 Unpacking libmcrypt4 (2.5.8-7) ...
#14 10.13 Selecting previously unselected package libmcrypt-dev.
#14 10.13 Preparing to unpack .../libmcrypt-dev_2.5.8-7_amd64.deb ...
#14 10.14 Unpacking libmcrypt-dev (2.5.8-7) ...
#14 10.21 Setting up libmcrypt4 (2.5.8-7) ...
#14 10.23 Setting up libmcrypt-dev (2.5.8-7) ...
#14 10.25 Processing triggers for libc-bin (2.36-9+deb12u3) ...
#14 10.30 ### INSTALLING REMOTE MODULE mcrypt ###
#14 12.18 pecl/mcrypt is not compatible with PHP version 8.3.0
#14 12.18 No valid packages found
#14 12.18 install failed
#14 ERROR: process "/bin/sh -c install-php-extensions mcrypt" did not complete successfully: exit code: 1

Docker image

php:8.3-fpm-bookworm

Minimal Dockerfile

No response

@llaville llaville added the bug Something isn't working label Nov 28, 2023
@mlocati
Copy link
Owner

mlocati commented Nov 28, 2023

Yep: even if it should work, package.xml states that PHP 8.3.0 is not compatible (it previously worked because 8.3.0RCn is less than 8.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants