Search code examples
phpmysqlapachemamp

MAMP Server could not be located in the dynamic link library


I've successfully installed MAMP server 3.0.1 on Windows 8, but when I try to load a page, I've got many errors (shown in popup dialog boxes):

  1. The procedure entry point php_body_write could not be located in the dynamic link library C:\AppServ\php5\ext\php_curl.dll
  2. The program can't start because php_mbstring.dll is missing from your computer. Try reinstalling the program to fix this problem.
  3. The procedure entry point php_checkuid could not be located in the dynamic link library C:\AppServ\php5\ext\php_gd2.dll
  4. The procedure entry point php_set_error_handling could not be located in the dynamic link library C:\AppServ\php5\ext\php_mysqli.dll
  5. The program can't start because php_pdo.dll is missing from your computer. Try reinstalling the program to fix this problem.

After that, start page (http://localhost/) opened and while I'm trying to open phpinfo, an error show again (5 times and consecutive).

I have AppServ on my computer too. My AppServ works well on my pc.

What may be causing the errors? How do I fix it?


Solution

  • By looking at issues with PHP extension DLL, most probably you already have another PHP version in your system path which conflicts with MAMP (or MAMP PRO) installation. You can check if you already have PHP in system path by opening command prompt and executing

    PHP -v
    

    or

    PHP --ini
    

    You can also check Help->Summary page in MAMP PRO which shows modules initialized by Apache server (PHP module and all PHP extension DLL's in Apache process memory map)