PHP-MAPI extension is not available
-
I switched from lighttpd to apache2 because I had some z-push issues and there are more docs about apache2 than lighttpd. I managed to get apache running, but I get this when going to:
https://server/Microsoft-Server-ActiveSync/
Z-Push - Open Source ActiveSync Version 2.4.5-2 FatalMisconfigurationException PHP-MAPI extension is not available
Somewhere on the net Felix suggested that Apache might not be running the same php version than z-push with a solution for RedHat. The necessary Debian Buster packages are installed. Z-push worked with lighttpd. The z-push.conf.php is the same as in lighttpd.
Anyone a hint?
Richard.
-
For future googlers:
cd /etc/php/7.3/apache2/conf.d ln -s /etc/php/7.3/mods-available/mapi.ini
Richard
-
Addendum:
cd /etc/php/7.3/cli/conf.d ln -s /etc/php/7.3/mods-available/mapi.ini