在xampp中找不到对象 [英] Object not found in xampp
问题描述
我在使用xampp时遇到问题.我希望你们能够解决它.
I have got a problem using xampp. I hope u guys are able to solve it.
-
当我输入地址"localhost"时,它仅显示"It works".但是,当我键入"localhost/xampp"时,它将带我进入xampp的欢迎页面.为什么当每个人都输入"localhost"时会出现这种情况?
When i type in the address "localhost" it just shows "It works". But when i type "localhost/xampp" then it takes me to the welcome page of xampp. Why is that when everybody gets that just typing "localhost"?
我创建了一个简单的php hello world程序来在htdocs文件夹下进行测试,并将其命名为test.php.然后,当我键入"localhost/xampp/test.php"时,它显示以下消息-
I created a simple php hello world program to test under the folder htdocs and named it test.php. Then when i type in "localhost/xampp/test.php" it shows the message shown below-
找不到对象!
Object not found!
在此服务器上找不到请求的URL.如果输入URL 手动,请检查您的拼写,然后重试.
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
如果您认为这是服务器错误,请与网站管理员联系. 错误404本地主机2013年9月3日2:23:28 AM Apache/2.2.14(Win32)DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
If you think this is a server error, please contact the webmaster. Error 404 localhost 9/3/2013 2:23:28 AM Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
我该怎么办?
推荐答案
我遇到了同样的问题,但没有找到解决办法.
该解决方案实际上非常简单,甚至很愚蠢:)
I had the same problem but no where did I find a solution.
The solution is actually quite trivial, silly even :)
我在记事本中写了hello world文件,保存时输入: test.php
I wrote my hello world file in notepad and when saving I typed: test.php
但是我无法将另存为类型"选项从文本文档"更改为所有文件".
but I failed to change the "save as type" option from "Text Document" to "All Files".
是的,就是这样!
我假设您已经找到了解决方案.我希望这对某人有帮助.
I am assuming you have already found your solution. I hope this helps somebody.
这篇关于在xampp中找不到对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!