After install xampp,we should
1. edit /etc/opt/lamp/etc/extra/httpd-xampp.conf
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Require all granted
Order allow,deny
Allow from all
</Directory>
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
#Deny from all
Allow from all
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
2.chmod o-rw /opt/lamp/etc/my.cnf
3.chmod o-w /opt/lamp/phpmyadmin/config.inc.php
4. change file /opt/lamp/phpmyadmin/libraries/Config.class.php,let die(_('Wrong permissions on configuration file, should not be world writable!')); to die(('Wrong permissions on configuration file, should not be world writable!'));