https://bugs.koozali.org/show_bug.cgi?id=12298

John Crisp <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #24 from John Crisp <[email protected]> ---
> however when the issue arise, I can make it stop by simply
> rm -rf /var/lib/php/nextcloud/opcache/*
> systemctl restart php81-php-fpm.service

Tried that - failed.

cat /etc/opt/remi/php81/php.d/20-opcache.ini

Seems to still refer to php74?

opcache.enable=1
opcache.file_cache= /var/opt/remi/php74/lib/php/opcache
opcache.enable_cli= 1
opcache.interned_strings_buffer= 32
opcache.max_accelerated_files= 10000
opcache.memory_consumption= 128
opcache.save_comments= 1
opcache.revalidate_freq= 1

/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini

grep file_cache
/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/10base

opcache.file_cache= /var/opt/remi/php81/lib/php/opcache


That is still php74 on another box that I have upgraded but has no segfaults.
Very odd.

Patching the file seems to fix the segfaults.

This should fix it.

diff -ruN
smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/10base
smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/10base
---
smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/10base
    2023-09-08 15:24:17.844164719 +0100
+++
smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/10base
2023-09-08 15:24:34.802316999 +0100
@@ -1,5 +1,5 @@
 opcache.enable=1
-opcache.file_cache= /var/opt/remi/php74/lib/php/opcache
+opcache.file_cache= /var/opt/remi/php81/lib/php/opcache
 opcache.enable_cli= 1
 opcache.interned_strings_buffer=
{$nextcloud{'opcache.interned_strings_buffer'} || 32;}
 opcache.max_accelerated_files= 10000

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to