简体   繁体   English

本地主机xampp无法正常工作

[英]localhost xampp is not working

Dear All Please help me to fix this problem! 亲爱的所有人,请帮助我解决此问题! I have installed xampp 5.6.12 on windows 7 ultimate .I cant'find the "localhost/xampp/" when ever i try it shows " http://localhost/dashboard/ " why ??? 我已经在Windows 7 Ultimate上安装了xampp 5.6.12。当我尝试显示“ http:// localhost / dashboard / ”时,为什么找不到“ localhost / xampp /”,为什么? and I can show the page " http://localhost/phpmyadmin " also, several times i uninstall and install this "xampp" still its same , so i change c:xampp\\apache\\conf\\httpd "ServerName localhost:8080" to( 80, 8800,8080) none of this work so some one please help me !!! 并且我也可以显示页面“ http:// localhost / phpmyadmin ”,多次卸载并安装此“ xampp”仍然相同,因此我将c:xampp \\ apache \\ conf \\ httpd“ ServerName localhost:8080”更改为(80,8800,8080)没有这项工作,所以请有人帮助我! thank you??? 谢谢???

That sounds exactly right. 听起来很正确。 What is not working for you? 什么对您不起作用? If you want to install wordpress at your local host, feel free to do so. 如果要在本地主机上安装wordpress,请随时进行安装。 You will need to start up Apache and start up MySQL first though. 不过,您将需要启动Apache并首先启动MySQL。 When you have content loaded up in the hard drive XAMPP directory / subdirectory HTDOCS what ever is in that directory can be accessed from browser via localhost. 当您在硬盘驱动器XAMPP目录/子目录HTDOCS中加载了内容时,可以通过本地主机从浏览器访问该目录中的内容。

Download the WordPress Package. 下载WordPress套件。 Unzip it in a directory at HTDOCS. 将其解压缩到HTDOCS的目录中。 If it were me, I create a seperate folder (wordpress_test).. Prepare a blank mySQL database. 如果是我,则创建一个单独的文件夹(wordpress_test)。准备一个空白的mySQL数据库。 Ensure you write down the login ID and password to the database. 确保将登录ID和密码记入数据库。 You will need that when you first start up WordPress. 首次启动WordPress时,您将需要使用它。 Navigate over to http://localhost/wordpress_test/wp-admin/ in your browser. 在浏览器中导航到http://localhost/wordpress_test/wp-admin/ Follow the instructions there. 按照那里的说明进行操作。 (Note: NO htdocs displayed in the directory path here, even though the directory is actually in use on the hard drive. Trust me, it just works.) (注意:即使目录实际上在硬盘驱动器上正在使用,此处目录路径中也不会显示htdocs。相信我,它就可以工作。)

The fact that the system uses the directory HTDOCS isn't totally intuitive. 系统使用目录HTDOCS的事实并不完全直观。 But... that is covered in various online tutorials. 但是...各种在线教程中都有介绍。 ref: http://www.tutorialspoint.com/articles/run-a-php-program-in-xampp-server 参考: http://www.tutorialspoint.com/articles/run-a-php-program-in-xampp-server : http://www.tutorialspoint.com/articles/run-a-php-program-in-xampp-server

Good luck with it... 祝你好运...

Update: It seems the original question has been modified to remove the WordPress tags, sigh. 更新:似乎原来的问题已被修改以删除WordPress标签,叹息。 So my answer, pushing WordPress isn't applicable to the question as currently asked. 因此,我的回答是,推送WordPress不适用于当前提出的问题。 So instead of WordPress install, lets use a simple php file install. 因此,让我们使用简单的php文件安装代替WordPress安装。 Same general answer. 相同的一般答案。 Same tutorial. 相同的教程。 Same file directory logic. 相同的文件目录逻辑。 Same XAMPP functioning. 相同的XAMPP功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM