简体   繁体   中英

MAMP 5.0.5 on Windows : PHP 8.1.0 doesn't work

I just migrated my old MAMP version on Windows. I uninstalled properly MAMP 4.2.0 and installed MAMP 5.0.5. I went into the MAMP preferences / PHP tab and changed from PHP version 8.0.1 to version 8.1.0. After starting the servers, I tried to open the WebStart page and I got a blank screen with lot of errors in php_errors.log file like: "PHP Startup: Unable to load dynamic library *.dll". The DLL are all in the specified directory.

If I change to PHP 8.0.1, everything works fine.

I looked at all the log files and tried PHP 8.0.1 which works fine. Trying again with PHP 8.1.0 leads to the same errors.

I finally found an old php installation, apart of MAMP on my PC, which was conflicting MAMP. I desinstalled it and now it works fine. Thank you mmh4all for your hint.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM