Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MAMP phpMyAdmin is not active?

I've just installed the free version of MAMP and I can't access phpMyAdmin tool.

phpMyAdmin is not clickable and it says needs PHP 5.5.x to 7.0.x as it can be seen from the screenshot;

phpMyAdmin is not clickable

However, when I checked the installed PHP version;

ricsters-MacBook-Pro:~ ricster$ php -v
PHP 7.1.1 (cli) (built: Jan 23 2017 15:09:57) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

So I have the PHP 7.1.1 installed but for some reason, MAMP doesn't recognize it. How can I solve this issue?

like image 267
ricster Avatar asked Feb 16 '17 17:02

ricster


People also ask

Why phpMyAdmin is not working in Mamp?

You may receive an error message stating that phpMyAdmin needs a PHP version within a specific range. This might happen if you're running an outdated version of PHP, or a new update is not compatible with your version of MAMP. In this case, you”ll need to change the PHP version of your MAMP application.

How do I access phpMyAdmin with Mamp?

In MAMP, you need to open phpMyAdmin to create a MySQL database. If you have installed MAMP with the default ports, open the Welcome page in your browser (http://localhost:8888/MAMP/), then click the phpMyAdmin link at the top of the screen. The main phpMyAdmin screen will appear.

Why is phpMyAdmin not connecting?

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.


1 Answers

You can choose another PHP version from Preferences -> PHP.

There is PHP 7.0.15 shipped with MAMP. Enable it and restart MAMP.

MAMP shows only two versions of PHP, so if you don't see it on the list then go to the folder

Applications/MAMP/bin/php

and rename folders with PHP versions you are not using.

like image 182
Peyotle Avatar answered Sep 20 '22 03:09

Peyotle