I tried to install phpMyadmin in MacOs. But When I go to localhost/phpmyadmin
it says Forbidden You don't have permission to access this resource.
My phpMyAdmin folder is in
/usr/local folder in Finder. I configured the phpmyadmin.conf
file with sudo nano /etc/apache2/other/phpmyadmin.conf
with the following codes:
<Directory /usr/local/phpmyadmin>
Options Indexes
Order allow,deny
Allow from all
allow from 127.0.0.1
allow from 192.168.1.0/15
</Directory>
What should I do to get rid of this error?
CodePudding user response: