Open phil-lipp opened 1 year ago
If you're using opcache.file_cache
, purge the cache and restart the server. Does that segfault still happen (probably yes, but it's worth a try).
If you're using
opcache.file_cache
, purge the cache and restart the server. Does that segfault still happen (probably yes, but it's worth a try).
Thanks for the reply.
I tried running php -r "opcache_reset();"
but the segmentation fault persists. Or is there another (maybe more thorough) way of purging the cache?
Or is there another (maybe more thorough) way of purging the cache?
Yeah. Just check the value of opcache.file_cache
; if it is the path of a directory, just remove all files from that directory.
Or is there another (maybe more thorough) way of purging the cache?
Yeah. Just check the value of
opcache.file_cache
; if it is the path of a directory, just remove all files from that directory.
That worked - thanks a lot!
That worked - thanks a lot!
Oh, wow! So probably something we should document regarding opcache.file_cache
.
Description
After recently updating php and its modules to 8.1.12 I'm getting Segmentation fault when trying to execute my Nextcloud occ command.
The following code:
Resulted in this output:
But I expected this output instead:
This is the Backtrace:
Installed packages (using
php -r "echo implode(',', get_loaded_extensions());"
):Packages and their versions (using
apt list --installed | grep php
):PHP Version
PHP 8.1.12
Operating System
Debian 11