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.
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.
This is the command if you have homebrew installed:
brew install phpmyadmin
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".
as of this writing, brew install homebrew/php/phpmyadmin
works
This page gives great instructions: https://coolestguidesontheplanet.com/set-amp-osx-10-9-mavericks-homebrew/
Follow These Steps:-
brew install phpmyadmin
brew info phpmyadmin
Apache Restart
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!!!
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