在 Aptana Studio 3 中添加外部服务器 [英] Adding an external server in Aptana Studio 3

查看:27
本文介绍了在 Aptana Studio 3 中添加外部服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Aptana Studio 3 中添加外部服务器,因为没有服务器视图?

How can I add an external server in Aptana Studio 3, since there is no Servers view?

此处 一些关于如何执行此操作的说明,但它们都使用 Windows > Show view > Servers 这在 Aptana 3 中不再可用.控制台可以吗?怎么样?

Here are some instructions on how to do it but they both use Windows > Show view > Servers which is no longer available in Aptana 3. With the console is possible? How?

我安装了 wamp 服务器,我可以正确运行存储在 htdocs 文件夹中的 php 文件.现在我想从 Aptana 运行这些 php 文件,但我得到了空白页.

I have a wamp server installed and I can run correctly php files stored inside the htdocs folder. Now I want to run those php files from Aptana but I was getting blank pages.

在项目">运行配置"中,我注意到使用选定的服务器"选项,但无法在那里添加服务器,因此我将使用基本 URL"与附加项目名称"一起使用,现在我可以从 Aptana 运行 php 文件但我仍然想知道这是否是最佳选择,以及如何告诉 Aptana 使用 wamp 服务器.

In Project > Run Configurations I noticed the "Use selected server" option but no possibilty to add a server there, so I used "Use base URL" together with "Append project name" and now I can run php files from Aptana but I am still wondering if it is the best option and how I could tell Aptana to use the wamp server.

推荐答案

在 Aptana Studio 3 中,您需要打开 Preferences、Aptana/Web Servers 节点并在那里添加您的本地 apache 服务器.如果您正确设置了文档根目录,您的 apache 服务器将用于在 Studio 中进行预览(请参阅工具栏上的预览按钮).

In Aptana Studio 3 you need to open Preferences, Aptana/ Web Servers node and add your local apache server there. If you set the document root correctly, your apache server will be used for previewing in Studio (See Preview button on toolbar).

这篇关于在 Aptana Studio 3 中添加外部服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆