Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

PHP 7.4 module installation (apcu / imagick)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
MrX88
Posts: 2
Joined: 2022-01-21 11:10

PHP 7.4 module installation (apcu / imagick)

#1 Post by MrX88 »

Hi All,

Pretty new to Linux/Debian and facing an issue/question which I need help with.

I am running Debian Bookworm on my RaspberryPi (model 4) with Nextcloud (v23) on a LAMP-Stack.
The PHP version I use is 7.4 as 8.1 is currently not supported by the lastest Nextcloud release.

Everything is working fine but I do not get the php modules APCu and Imagick installed for php7.4 on my machine.

If I do

Code: Select all

sudo apt install php-apcu
it try's to load modules for php8 by default:

Code: Select all

 php-apcu php8.1-apcu php8.1-cli php8.1-common php8.1-opcache php8.1-phpdbg php8.1-readline
I tried the same with

Code: Select all

sudo apt install php-imagick
with the same behavior.


Reading through Google results says that you also can do

Code: Select all

sudo apt install php7.4-apcu
but this results in package not found errors.


I gave apt install php-apcu as well as apt install php-imagick a try but both was not working for me. Nextcloud still said that imagick is not installed and no memory caching is configured. How should I approach it to get this working under php7.4? What do I wrong?

Thanks!

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: PHP 7.4 module installation (apcu / imagick)

#2 Post by bw123 »

looks like php7.4 not supported on testing. The release for bookworm is well into the future right now,
https://wiki.debian.org/DebianBookworm
resigned by AI ChatGPT

MrX88
Posts: 2
Joined: 2022-01-21 11:10

Re: PHP 7.4 module installation (apcu / imagick)

#3 Post by MrX88 »

bw123 wrote: 2022-01-21 23:22 looks like php7.4 not supported on testing. The release for bookworm is well into the future right now,
https://wiki.debian.org/DebianBookworm
Hmmm.. Thanks for letting me know. On https://raspi.debian.net/tested-images/ this was the latest tested and stable release, that's why I choose it.

However, other 7.4 modules I can install using

Code: Select all

sudo apt install php7.4-[module]
syntax. Just these two are missing. Maybe there is no release of APCu and Imagick for Bookworm under 7.4. So I hsvd to wait until Nextcloud will support php v8.1.

Thanks anyways!

Post Reply