Hi,
after updating my grommunio appliance today, I encountered a problem with the php mapi module. i was greeted with an error message on the web interface, saying the mapi extension was not available and the php-fpm service logged the following error:
php-fpm[31176]: [09-May-2025 11:40:52] NOTICE: PHP message: PHP Warning: PHP Startup: mapi: Unable to initialize module
php-fpm[31176]: Module compiled with module API=20200930
php-fpm[31176]: PHP compiled with module API=20220829
php-fpm[31176]: These options need to match
php-fpm[31176]: in Unknown on line 0
Looking up the API versions, it looks like the module was compiled for php 8.0, while php 8.2 is running in the appliance.
I was able to reproduce the error by following these steps:
- Install the appliance with
grommunio-offline.x86_64-2025.01.1-Build2.2.install.iso
- (probably irrelevant) Switch system language and locale to German in the CUI
- Enable the community repository in the CUI
- Update the system from the CUI
Afterwards php-fpm was unable to load the mapi module.
Since the installation was only for testing, I fixed the problem by reinstalling the server from grommunio-offline.x86_64-2025.01.2-Build2.1.install.iso
(after grommunio-update upgrade
completely bricked the server)