如何使用 PDT 和 WAMP

发布于 2024-09-13 11:42:33 字数 91 浏览 2 评论 0原文

我已经为 Eclipse 和 WAMP 服务器安装了 PDT。我想知道现在如何开始用 PHP 编写代码?我应该怎么做才能让 WAMP 获取我的所有 PHP 文件?谢谢!

I have installed PDT for Eclipse and WAMP server. I want to know how do i start writing code in PHP now? What should I do so that WAMP gets all my PHP files? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

煞人兵器 2024-09-20 11:42:33

WAMP 通过读取 www 目录来工作,通常位于 C:\wamp\www 下。如果您将自己的 index.php 文件放在那里,当您启动 WAMP 并转到 http://localhost 时,您将在浏览器中看到它

对于 Eclipse 的 PDT,您可以简单地在 C:\wamp\www 中创建项目。现在您的所有代码都将存在于 www 目录中,从而使 WAMP 能够访问您的项目代码并允许您测试您的代码。

WAMP works by reading the www directory, usually under C:\wamp\www. If you place your own index.php file there you will see it in the browser when you start WAMP and go to http://localhost

In terms of PDT for Eclipse you can simply create your project at C:\wamp\www. Now all your code will exist in the www directory thus giving WAMP access to your project code and allowing you to test your code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文