15

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
  • 253

6 Answers6

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".

13

This is the command if you have homebrew installed:

brew install phpmyadmin
slm
  • 10,859
8

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

0

This page gives great instructions: https://coolestguidesontheplanet.com/set-amp-osx-10-9-mavericks-homebrew/

user64141
  • 101
  • 1
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
  • 1
0

Install autoconf, which is needed for the installation of phpMyAdmin:

brew install autoconf

And set the $PHP_AUTOCONF environment variable:

If you use the default Bash shell:

echo 'PHP_AUTOCONF="'$(which autoconf)'"' >> ~/.bash_profile && . ~/.bash_profile

or if you use ZSH:

echo 'PHP_AUTOCONF="'$(which autoconf)'"' >> ~/.zshrc && . ~/.zshrc

Since now you're all set, you can finish this part with the actual installation of phpMyAdmin:

brew install phpmyadmin