帮助设置Eclipse的php [英] Help setting up php for Eclipse

查看:114
本文介绍了帮助设置Eclipse的php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为php web开发设置Eclipse。我想做的是从Eclipse中预览php网页,但我无法弄清楚如何做到这一点。有没有一种集成的Web服务器可以让这个,或者我必须设置IIS / Apache来做吗?如果是这样,我必须在web服务器路径中有我的php文件,还是Eclipse自动将文件部署到本地Web服务器?任何信息或链接将非常感激。

I'm trying to set up Eclipse for php web development. What I would like to do is preview a php web page from within Eclipse, but I cannot figure out how to do this. Is there an integrated web server of some sort that allows this, or do I have to set up IIS/Apache to do it? If so, do I have to have my php files in the web servers path, or does Eclipse auto deploy the files to the local web server? Any information or links would be very much appreciated.

推荐答案

有一个Eclipse的插件称为PDT,使PHP开发变得轻而易举。

There is a plugin for Eclipse called PDT which makes PHP development a breeze.

有关如何安装它的概述,可以参考Eclipse网站:

For an overview on how to install it, you can refer to the Eclipse website:


http://wiki.eclipse.org/PDT /Installation#Eclipse_3.4_.2F_Ganymede_.2F_PDT_2.0

要实际查看运行的PHP脚本,我想象你必须有一些服务器已经安装并运行。您可能将工作区位置设置为服务器路径,然后通过localhost查看文件。但是PDT包可能会为您处理一些。

To actually view the PHP scripts running, I would imagine that you'd have to have some sort of server already installed and running. You could probably set the workspace location to be in the server path, and then view the files through localhost. But maybe the PDT package takes care of some of that for you.

这篇关于帮助设置Eclipse的php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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