Skip to content

Add PHP support for calendar and IMAP to ns8-webserver #7687

@stephdl

Description

@stephdl

Add support for calendar and IMAP to the ns8-webserver module. Currently, our php-fpm containers are based on both Debian trixie and bullseye, but the latest trixie version breaks the IMAP build. Switching to bookworm may be the best approach to resolve this issue.

php imap and calendar are required by web application (wordpress and dolibarr for examples)

Proposed solution

  • Move the container build base from trixie to bookworm to ensure IMAP support is maintained.
  • As an enhancement, update the Dockerfile to automatically test after the build that the PHP module (and all running dependencies) are correctly installed.

Alternative solutions

  • Attempt to patch trixie’s build for imap, but this adds maintenance burden.
  • do not use php imap as it is obsolete but some web application require it (Dolibarr)

Additional context

Ensuring PHP modules and dependencies are validated post-build will improve reliability and reduce deployment issues for ns8-webserver

See also

https://community.nethserver.org/t/activate-php-calendar-and-imap-extension/26456

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions