XAMPP keeps showing Dashboard/Welcome Page instead of the Configuration Page

ぃ、小莉子 提交于 2019-12-04 08:24:19

问题


I've just downloaded and installed XAMPP 5.6.11 and started all the tools from the control panel. I've seen that one of it's new features is that it has a Welcome/Dashboard page.

Previously, going to 127.0.0.1 would take me to a language selection page and then to a orange-yellow page where I could configure XAMPP. Now, going to 127.0.0.1 or hitting Apache's "Admin" button in the XAMPP Control Panel takes me to the dashboard/welcome page no matter what.

One curious thing: attempting to go to http://localhost/xampp/ shows me an empty directory listing. I figured perhaps my install was botched so I reinstalled XAMPP. Still no luck. Even tried installing Apache 5.5.27. Same problem.

Am I missing something?


回答1:


Same issue here, comparing the htdocs/xampp folder in 5.6.11 with 5.6.8 I saw all the files there are missing in 5.6.11. Copied the entire htdocs/xampp folder from 5.6.8 to 5.6.11 and worked fine.




回答2:


Open the htdocs folder there will be index.php file. In that file script is written to go in dashboard folder and show dashboard. So you just have to comment it or delete that script and write any code save it and run http://localhost now dashboard screen will not open and you will see what you have written in that file.




回答3:


Delete the file(index.php) from your xampp folder, you will get the list of directories and files from htdocs folder.




回答4:


Hey here is the solution for windows 7+.

You need admin rights to make changes to the hosts file

Right click on your favorit text-editor and select "run as administrator" before opening the file

Open the following file "c:/windows/system32/driver/etc/hosts"

Enter the line:

127.0.0.1 localhost 

Next: Define a virtual host in /xampfolder/apache/conf/extra/httpd-vhosts.conf

<VirtualHost  127.0.0.1>
  DocumentRoot "c:\your\document\root"
  ServerName localhost
    <Directory "c:\your\document\root">
      Options Indexes FollowSymLinks Includes ExecCGI
      Options All 
      AllowOverride All
      Require all granted
    </Directory>
</VirtualHost>

Restart your apache! Now you can enter http://localhost in your browser and access your page.

Pro-Tip: You can use other names as localhost or have multiple localhosts this way. Just enter the names in the hosts file and define your virtual hosts.




回答5:


Here is the solutions that worked for me:

  1. open index.php from the htdocs folder
  2. inside replace the word dashboard with your database name.
  3. restart the server

This should resolve the issue :-)




回答6:


I've resolved the issue, by going to setting and permalink, just choose post-name.

it should work and you'll see the exact page.. rather than dashboard/xampp page again

Best of Luck




回答7:


my suggestion: Choose a different version. I had the same problem you have deinstalled v5.6.11, downloaded and installed v5.6.3, works fine for me.

cheers!




回答8:


I was also experiencing the same issue. 5.5.24 was the latest version that worked for me. The Apache Friends blog has a post, https://www.apachefriends.org/blog/new_xampp_20150723.html, that mentions the newer versions shipping with the 'Dashboard'.




回答9:


http://sourceforge.net/projects/xampp/files/

The old version, but the desired function will be sufficient.

Uninstall version 5.6.11 and downgrade to version 5.6.8.




回答10:


This works in Windows; didn't check Linux but don't see why it wouldn't work. Download the zip files for 5.6.8 portable. Unzip the files and copy the xampp/htdocs to the xampp/htdocs in your install directory.




回答11:


I had the same problem. I uninstalled the 6.8.14 and installed back older version 5.6.8, and it worked.




回答12:


(MAC) check the /Applications/XAMPP/etc/httpd.conf file there is a section that by default is commented out. Search for "Virtual hosts". If you delete the # in the next line, like in the picture, you should just need to restart apache and then you're good to go. uncomment to allow virtual hosts




回答13:


Change the document root in the file C:\xampp\apache\conf\httpd.conf to the folder where is the index.php of your project.




回答14:


Easiest solution for this to remove the index.php code which is allocated on

xammp-> htdocs-> index.php 

you can delete the code of this page to solution your problem but have another way which is .htaccss file. Some time you show this problem because of have some issue or miss code on .htaccss file thas way yo saw the xammp dashboard every time. Hop it will resolve your problem. Happy Coding and Good Luck



来源:https://stackoverflow.com/questions/31653694/xampp-keeps-showing-dashboard-welcome-page-instead-of-the-configuration-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!