这学期学习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就行了。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Linux new version
SublimeText3 Linux latest version
