phpmampphp-extensionpeclphp-7.1

MAMP ext mailparse is not loading, not sure if installed correctly PHP 7.1.33


i started to work on web application which uses PHP 7.1.33 - which i did set up in MAMP, but I have problem to get extension mailparse - which I tried and probably installed through PECL commands.

But when i run

php -i | grep mailparse

There is no output - so it seems its not installed, but:

pecl install mailparse-3.1.3

Outputs:

pecl/mailparse is already installed and is the same as the released version 3.1.3

My php.ini

extension=mailparse.so - enabled

My phpinfo()

Thanks for any help


Solution

  • Just to let the others know, problem was finally with M1 Macbook (Arm) architecture, so i uninstalled the extension with PECL and then installed one, which is compactible with command

    arch -arm64 sudo pecl install mailparse-3.1.3