How can I install PHPmyadmin on Mac Lion using Homebrew

15

5

How can I install PHPmyadmin using homebrew, if that possible. I'm using Mac 10.7.

I installed Homebrew, and it's working perfectly. I use it to download php 5.4 and mysql. Both are working perfectly, and also the homebrew, and it's updated.

HTML Man

Posted 2013-04-04T16:45:57.990

Reputation: 253

How about using XAMPP or MAMP ? Much easier to maintain & use (though the versions may not be up-to-date) – Raptor – 2013-04-04T16:48:03.967

Answers

13

This is the command if you have homebrew installed:

brew install phpmyadmin

user222810

Posted 2013-04-04T16:45:57.990

Reputation: 154

doesnt work anymore – Marcelo Filho – 2017-04-03T13:33:27.780

1doesnt work anymore – theArc – 2017-05-16T14:28:37.230

Would be nice if you would add some guide on how to use/access it after the installation. – Tadej – 2017-05-27T11:39:15.290

35

You may need to set up some dependencies first. Here's what I had to do:

brew tap homebrew/dupes
brew tap homebrew/homebrew-php
brew install phpmyadmin

This information was from the homepage for Homebrew-PHP, "a centralized repository for PHP-related brews".

Bennett McElwee

Posted 2013-04-04T16:45:57.990

Reputation: 488

1there is no github repo josegonzales/homebrew-php anymore so please use "brew tap homebrew/homebrew-php", it worked for me – nerdess – 2014-09-03T13:07:50.720

@nerdess Thanks for that -- I have updated my answer. – Bennett McElwee – 2016-10-03T22:13:03.140

8

as of this writing, brew install homebrew/php/phpmyadmin works

bonbon.langes

Posted 2013-04-04T16:45:57.990

Reputation: 181

and then....? do what? – Marcelo Filho – 2017-04-03T13:44:08.140

0

user64141

Posted 2013-04-04T16:45:57.990

Reputation: 101

Please read the question again carefully. Your answer does not answer the original question. OP is using 10.7. – DavidPostill – 2016-11-17T00:11:20.493

0

Follow These Steps:-

  1. Install Phpmyadmin:

brew install phpmyadmin

  1. Now, enter below command and follow the instructions as mentioned:

brew info phpmyadmin

  1. Apache Restart

Apache Restart

  1. Open Phpmyadmin:

http://localhost/phpmyadmin

  1. If you are unable to login with phpmyadmin :

    Change in phpmyadmin config file [/usr/local/etc/phpmyadmin.config.inc.php]

$cfg['Servers'][$i]['host'] = '127.0.0.1';

Now You Are Good To Go!!!

Rookie

Posted 2013-04-04T16:45:57.990

Reputation: 1