Configure Xampp

来源:互联网 发布:傻瓜电子杂志制作软件 编辑:程序博客网 时间:2024/05/17 08:24

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!'));


原创粉丝点击