How to Install phpMyAdmin on MacOS
1) Install Homebrew (Package Manager for MacOS(or Linux).
2) Run "brew install phpmyadmin".
3) Add the following lines to httpd.conf and restart Apache.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Alias /phpmyadmin /opt/homebrew/share/phpmyadmin ... <Directory /opt/homebrew/share/phpmyadmin/ > Options Indexes FollowSymlinks Multiviews AllowOverride All <IfModule mod_authz_core.c> Require all granted </IfModule> <IFModule ! mod_authz_core.c> Order allow deny Allow from all </IfModule>
</Directory> |
4) Open http://localhost/phpmyadmin.
The configuration file is /opt/homebrew/etc/phpmyadmin.config.inc.php
Refer to the documentation for more information.
No comments:
Post a Comment