PHP startup error

Hello!

I have moved my site (local server) from Kirby 2.4 to 2.4.1 and I have also installed the new MAMP version in my new Mac (Version 10.12.2).

When trying to log in into my panel (or logout) I get the following error message:

PHP Startup: Unable to load dynamic library ‘/Applications/MAMP/bin/php/php7.1.0/lib/php/extensions/no-debug-non-zts-20151012/pdo_pgsql.so’ - dlopen(/Applications/MAMP/bin/php/php7.1.0/lib/php/extensions/no-debug-non-zts-20151012/pdo_pgsql.so, 9): image not found

(I re-downloaded and installed the PHP 7.1 version from the MAMP site, in case it would fix the problem, but it didn’t.)

Sometimes by re-clicking [return] in the URL address in my browser, I manage to log in (but still this is not how it should be)
I noticed also that I have problem with uploading photos in my projects page. When I click on “open” in the files window, there is no reaction and the file is not uploaded (could it be related, or is it another issue?)

Do you have a suggestion on how to solve this?

Thanks, Ilias

Update:

I downgraded my MAMP version to 3.5.2 and now it seems to work fine.
I also have no problem with uploading photos.

I’m running Mamp Pro 4.0.6/PHP 7.1.0 on a Mac with macOS 10.12.2 without any problems.

Edit; Check if the file /Applications/MAMP/bin/php/php7.1.0/lib/php/extensions/no-debug-non-zts-20151012/pdo_pgsql.so exists in that location.

1 Like

If I remember well, it was not there. As I said, I have downgraded to Mamp 3.5.2 and it now works fine. I guess, I will stay with this version for now. Thanks though for your help!