Skip to content

[BUG] php-fpm segfaults caused by php8 #514

@VeloAddict

Description

@VeloAddict

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

#512
Since the above issue was closed and can't reply i have to open a new issue.
What I did, removed all mods, fresh instance.
Install/update app, php-fpm segfaults. Recovery by pkill php-fpm.
It has 12GB of RAM, so is not a memory issue.
Because of php8 there are alot of errors in the logs:

  • Implicit nullable parameters are deprecated - PHP 8.4 now deprecates implicit nullable parameter declarations and requires explicit nullable types
  • Stricter type checking causing fatal errors instead of warnings
  • Changes to null handling in string operations
    Many deprecations from PHP 7.4-8.1 became breaking changes by PHP 8.2+.

I did not have the chance to build a new docker image with an older version of php (not that good with docker), maybe somebody can try it out?

Expected Behavior

Not to crash nextcloud/php-fpm.

Steps To Reproduce

Environment

- OS: debian 12
- How docker service was installed: sh

CPU architecture

arm64

Docker creation

docker compose

Container logs

-

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions