I used homebrew
to install php
, mysql
and phpMyAdmin
I changed the httpd.conf
file as brew asked me with this snippet on top of the file :
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 then after restarting Apache
I went to http://localhost/phpmyadmin/
, I have the 403
error : You don't have permission to access this resource.
So I watched on this post and I went on sudo nano /etc/httpd/conf.d/phpMyAdmin.conf
.
It appears that this file exists but is empty.
Is it normal ? Does my 403
error comes because this file is empty ?
I'm a frontend developer new to backend, so excuse my lack of knowledge here.
Thank you for your time.