php apcu problem

This forum is for discussion about general software issues.

php apcu problem

Postby loki279 » Sun May 26, 2024 11:42 am

I updated my Pi that runs a nextcloud instance today. Thereafter I get a error related to php / acpu:

[code] PHP Warning: PHP Startup: Unable to load dynamic library 'apcu' (tried: /usr/lib/php-legacy/modules/apcu (/usr/lib/php-legacy/modules/apcu: cannot open shared object file: No such file or directory), /usr/lib/php-legacy/modules/apcu.so (/usr/lib/php-legacy/modules/apcu.so: undefined symbol: php_strlcpy)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/lib/php-legacy/modules/imagick (/usr/lib/php-legacy/modules/imagick: cannot open shared object file: No such file or directory), /usr/lib/php-legacy/modules/imagick.so (/usr/lib/php-legacy/modules/imagick.so: undefined symbol: php_strlcpy)) in Unknown on line 0 [/code]


Could it be, that there is a version mismatch with php modules?

I'm running on php-legacy:

[code] local/php-legacy 8.2.19-2
A general-purpose scripting language that is especially suited to web development
local/php-legacy-apcu 5.1.23-3
A userland caching module for PHP
local/php-legacy-fpm 8.2.19-2
FastCGI Process Manager for PHP
local/php-legacy-gd 8.2.19-2
gd module for PHP
local/php-legacy-igbinary 3.2.15-4
A drop in replacement for the standard php serializer
local/php-legacy-imagick 3.7.0-8
PHP extension to create and modify images using the ImageMagick library
local/php-legacy-redis 6.0.2-3
An API for communicating with the Redis key-value store
local/php-legacy-sodium 8.2.19-2
sodium module for PHP [/code]


Thanks for your help!
loki279
 
Posts: 56
Joined: Tue Mar 07, 2017 7:59 am

Re: php apcu problem

Postby loki279 » Tue May 28, 2024 8:24 am

It seems that the same problem existed in arch x86 last year and the bug was reported there as well:

[url]https://bugs.archlinux.org/task/79959[/url]

The bug was also reported in this forum already:

[url]https://archlinuxarm.org/forum/viewtopic.php?f=15&t=16910[/url]
loki279
 
Posts: 56
Joined: Tue Mar 07, 2017 7:59 am

Re: php apcu problem

Postby dektai » Mon Aug 05, 2024 6:36 am

if do php -v
check apcu suport

download
install phpX.X-apcu

I am using php 7.4 and apcu
dektai
 
Posts: 2
Joined: Mon Aug 05, 2024 6:23 am

Re: php apcu problem

Postby zenream » Fri Aug 09, 2024 7:55 am

I've reinstalled the modules, but the error persists; what should I check next?
zenream
 
Posts: 2
Joined: Fri Aug 09, 2024 7:49 am


Return to General

Who is online

Users browsing this forum: No registered users and 29 guests