问题描述
我使用PHP和XAMPP想我第一次的Hello World应用程序。我已经得到的错误,到目前为止,并已通过的问题一个接一个的工作。到目前为止,我有:
I am trying my first Hello World app using php and xampp. I've been getting errors so far and been working through the problems one by one. So far I have:
-
保存C上的PHP文件(hello.php扩展):\\ XAMPP \\ htdocs中。下面一行是HTML的身体标记之间。
Saved the php file ("hello.php") on C:\xampp\htdocs. The following line is in between html "body" tags.
<?php echo '<p>Hello World</p>'; ?>
有谁知道我做错了?
其它说明:我使用Windows 7,并没有下载从PHP任何
Further notes: I am using Windows 7 and haven't downloaded anything from PHP.
我的也许是太宽的问题道歉。我试图要尽可能具体,通过概述我已采取的所有行动。
I apologise for perhaps a too wide question. I have tried to be as specific as possible by outlining all actions I have taken.
推荐答案
尝试运行控制面板管理权限。右键单击控制面板图标,选择以管理员身份运行。此外,它会帮助,如果你在这里粘贴您在控制面板中获得,当你启动Apache(无需MySQL来运行你的hello.php文件,因为你没有访问任何数据库)。消息
Try running control panel with admin rights. Right click on control panel icon and select "Run as administrator". Also it would help if you pasted here the messages that you get in control panel when you start apache (mysql is not needed to run your hello.php file since you don't access any database).
这篇关于XAMPP - &QUOT;该网页无法使用&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!