Home > php教程 > php手册 > body text

Eclipse for PHP安装和配置过程

WBOY
Release: 2016-06-21 08:48:26
Original
1354 people have browsed it

这学期学习PHP这门语言,因为以前一直在自学java,用惯了Eclipse和Myeclipse这两种集成开发环境,所以就打算找找能不能在eclipse中编写php代码,上网一查才知道原来早就可以了,用Eclipse for PHP就可以了,只需配置一下就行了,下面开始吧!!

1、Eclipse for PHP下载地址:http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr1#

点击后出现如下图:


我的电脑是下载对勾那个,根据自己的电脑配置选择合适的版本

下载后将这个解压到自己的JAVA_HOME下(必须,这里不再讲解有关JAVA_HOME的知识),解压后,打开eclipse.exe,会问你workplace的目录,这里将其更改为你的php的www下的目录(我在这里新建了eclipse-php-helios-SR1-win32这个目录,以后方便吧所有的文件都放在这里),然后就可以建立项目了,然后在建立php文件,

建立文件后配置:window->preferences->php->PHPServers->选中->编辑->vcD4KPHA+PGltZyBzcmM9"" alt="">

点击OK

然后配置这个项目,右击项目-》run as ->configuration->添加你建立的目录,ok就行了。




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template