Once lampp package installed in system and trying to open phpmyadmin on browser shows below error:

# http://localhost/phpmyadmin

Access forbidden!
New XAMPP security concept:
Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf"

Solution 1 :

Edit /opt/lampp/etc/extra/httpd-xampp.conf.

Add the line "Require all granted" to the bottom of the ,
# vim  /opt/lampp/etc/extra/httpd-xampp.conf

 AllowOverride AuthConfig Limit
  Allow from all
  Order allow,deny
  Require all granted

Solution 2 :

If you get the same error when trying to access the phpMyAdmin on remotely just uncommand "Require local",

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|
# Require local
  ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

Then, restart your lampp package,
# /opt/lampp/lampp  restart