Activate php calendar and imap extension

NethServer Version: 8
Module: webserver

hi, i need to activate calendar and imap extension on php 8.4 in module webserver .

Thanks .

1 Like

Can you drop a phpinfo and check if the module are there and enabled

Calendar should be enabled at the php compilation iirc and imap is a pecl now for php8.4

I recall we have verified to be fearure equal before to release from bitnami to our own phpfpm version
..but I am usually wrong so :slight_smile:

On other hand you can test ns8-lamp on my repository

2 Likes

Thanks,

I checked phpinfo and found no trace of these modules. The error comes from Dolibarr and is as follows:

The function in error belongs to the calendar module, and a check of the php configuration in Dolibarr done:

I will test NS8-Lamp tomorrow.

1 Like

for sure php-imap is installed on ns8-lamp but no clue for calendar, however it is a valid new feature request for imap and calendar on webserver

1 Like

After testing,I confirm that both modules are activated in NS8-Lamp, thank you.

2 Likes

It seems the modules are installed but not enabled, following exists in lamp but is missing in webserver phpinfo:

See also https://hub.docker.com/_/php

calendar seems not so hard to be enabled but php-imap is something that has moved to pecl because it has been obsoleted since a long time and mainly not maintained

:confused:

1 Like

I don’t use the IMAP feature on Dolibarr. After checking, email retrieval works without the IMAP module except for OAuth2. See below (I think you speak French).

2 Likes

I had the same issue with ns8-wordpress as well, with a specific version of PHP and wordpress because the website didn’t liked the latest versions. I ended up crafting a customized module.

1 Like

I installed ns8-wordpress recently and it installed without issues, which version did you use? AFAIK there’s no option to change the used PHP version in ns8-wordpress.

Is it on Github?

Yep. https://github.com/pagaille/ns8-wordpress672-pagaille

1 Like

I succeed to build with the default version why

add-module ghcr.io/nethserver/wordpress:sdl-calendar

2 Likes

I had to use wordpress 6.7 because the website hosted on it didn’t like 6.8, not time to find out why.

Thanks to stephdl, it works perfectly with the latest release.

2 Likes