问题描述
xampp v3.2.1 是否需要先检查服务模块才能在 localhost 上查看?,因为我在 localhost 中看不到我的 sample.php
.
xampp v3.2.1 do I need to check the service module first so that I can view it on localhost?, because I can't see my sample.php
in localhost.
我注意到复选框被禁用:
I noticed the checkbox is disabled:
另外一个我通常如何打开我的sample.php
.浏览器中的本地主机总是
and another one how do I normally open my sample.php
. the localhost in the browser always
在此处重定向我:http://localhost/xampp/index.php
..这是 xampp 的主站点.嗯.
redirect me here: http://localhost/xampp/index.php
..which is the mainsite of xampp. hmm.
请帮忙,我是使用 xampp 的 php 新手.谷歌全能找不到我的解决方案.
Please help, I'm a novice in php using xampp. Google almighty can't find me a solution.
推荐答案
您必须以管理员身份启动 XAMPP 控制面板.转到您的 XAMP 目录,通常是它的 C:XAMPP,查找xampp-control.exe".右键单击它并点击以管理员身份运行".确认 UAC 或用户帐户控制后,您应该能够检查并安装 Apache 和 MySQL 作为服务.这对我有用,所以它也应该对你有用,正如我在你的屏幕截图中所说的那样,我们运行相同版本的 XAMPP.祝你好运.
You must start the XAMPP Control Panel as Admin. Go to your XAMP directory, usually its C:XAMPP, look for the "xampp-control.exe". Right click on that and hit "Run as Administrator." After confirming the UAC or user account control, you should be able to check and install Apache and MySQL as services. That works for me so it should work for you too as I can tell on your screenshot, we run the same version of XAMPP. Goodluck.
这篇关于无法检查 xampp 中的服务模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!