after changing documentroot, xampp still using default phpmyadmin

前端 未结 2 933
粉色の甜心
粉色の甜心 2021-01-16 17:06

I used XAMPP to install Apache, PHP, MySQL.

I then personalized the c:\\xampp\\apache\\conf\\httpd.conf file thusly:

# DocumentRoot \"C:         


        
2条回答
  •  无人共我
    2021-01-16 17:54

    This may help others You will find the lines in your httpd.conf file

    # XAMPP specific settings
    Include "conf/extra/httpd-xampp.conf"

    If you look in the included file "httpd-xampp.conf" you will see the line

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    
        AllowOverride AuthConfig
        Require all granted
    
    

    Modifying this information in any number of ways (change httpd-xampp.conf, include your own custom conf file, placing a statement after the above statements) should solve your problem

提交回复
热议问题