I installed phpmyadmin over a year ago.
I use MAC OS 10.10.4. I don't use Xampp. My installation Folder is /Library/Webserver/Documents/phpmyadmin.
Now when I try to access phpmyadmin with that url, http://localhost/phpmyadmin/, i have:
403 Forbiden error You don't have permission to access /phpmyadmin/ on this server.
in /var/log/apache2:
[Sat Oct 03 15:42:53.773654 2015] [autoindex:error] [pid 10682] [client 127.0.0.1:57694] AH01276: Cannot serve directory /Library/WebServer/Documents/phpmyadmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
My question is how can i fix it and have an access to phpmyadmin again?
Ok, the answer of Rishi has solved the acces denied problem.
For the rest of the problem (index.php was downloaded but not executed), i had to (on httpd.conf): Uncomment LoadModule php5_module libexec/apache2/libphp5.so and add: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType text/html .php (maybe the only one really necessary??)