You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

PHPMYADMIN not found (homebrew, bigsur, m1)

i'm quite new in mac, and trying to install phpmyadmin in it

i've edited my httpd.conf as instructed


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>


and comment #Alias /phpmyadmin /opt/homebrew/share/phpmyadmin, caused if not commented apachetl configtest will error.


I've enabled my php lib module ini httpd.conf and tested with localhost/info.php, everything just work fine.


What should i do so my phpmyadmin accessible ?


Thanks in advance

MacBook Pro 13″, macOS 11.4

Posted on Jul 18, 2021 11:30 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 19, 2021 1:12 AM

After checking view times, i've found the answer


I need to enable alias module in httpd.conf


LoadModule alias_module lib/httpd/modules/mod_alias.so


and uncomment Alias config for phpmyadmin in my httpd.con


my config before

#LoadModule alias_module lib/httpd/modules/mod_alias.so
#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>


my config now

LoadModule alias_module lib/httpd/modules/mod_alias.so

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>


and phpmyadmin installed via homebrew run well in my bigsur with m1 chip

Similar questions

1 reply
Question marked as Top-ranking reply

Jul 19, 2021 1:12 AM in response to Oxymora

After checking view times, i've found the answer


I need to enable alias module in httpd.conf


LoadModule alias_module lib/httpd/modules/mod_alias.so


and uncomment Alias config for phpmyadmin in my httpd.con


my config before

#LoadModule alias_module lib/httpd/modules/mod_alias.so
#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>


my config now

LoadModule alias_module lib/httpd/modules/mod_alias.so

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>


and phpmyadmin installed via homebrew run well in my bigsur with m1 chip

PHPMYADMIN not found (homebrew, bigsur, m1)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.