0% found this document useful (0 votes)
99 views5 pages

BTW@MDH PHP Eclipse Zend Xampp

This document provides instructions for installing and configuring PHP, Eclipse, Zend debugger and XAMPP on a Windows system to set up a development environment. It describes downloading and installing Eclipse, PHP plugin PHPeclipse, XAMPP, and configuring them to integrate XAMPP with Eclipse. It also outlines setting up a sample project to test the environment and mentions installing Zend debugger and using tools to generate a data access layer. The document is intended for a team to have a common development setup.

Uploaded by

Ashishjivani
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views5 pages

BTW@MDH PHP Eclipse Zend Xampp

This document provides instructions for installing and configuring PHP, Eclipse, Zend debugger and XAMPP on a Windows system to set up a development environment. It describes downloading and installing Eclipse, PHP plugin PHPeclipse, XAMPP, and configuring them to integrate XAMPP with Eclipse. It also outlines setting up a sample project to test the environment and mentions installing Zend debugger and using tools to generate a data access layer. The document is intended for a team to have a common development setup.

Uploaded by

Ashishjivani
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

BTW

Installing and Configuring PHP, Eclipse, Zend and


XAMPP

Version 1.0
BTW Version: 1.0
Installing and Configuring PHP, Eclipse, Zend and XAMPP Date: 2008-11-11

Revision History
Date Version Description Author
2008-11-11 0.01 Initial Draft, Zend debugger not included Anand
2008-11-11 0.02 Documentation review Anand

Doc. No.: Internal-4

Page 3
BTW Version: 1.0
Installing and Configuring PHP, Eclipse, Zend and XAMPP Date: 2008-11-11

1. Introduction

1.1 Purpose of this document

The purpose of this document is create a common setup of working environment for all the team members
through a common installation guide. This guide will help all the team members to install and configure PHP,
Eclipse, Zend debugger and XAMPP

1.2 Document organization

The document is organized as follows:

 Section 1, Introduction, describes contents of this guide.


 Section 2, Installation, describes the installation and configuration of all the software required.

1.3 Intended Audience

The intended audience is:


 BTW@MDH team members.
 Steering group.

1.4 Scope
The scope of the document is restricted to installation and configuration of the software. This document doesn’t
provide any tutorial of development.

1.5 Definitions and acronyms

1.5.1 Definitions

Keyword Definitions
XAMPP Integrated Apache, MySQL, PHP and Perl

1.5.2 Acronyms and abbreviations

Acronym or
Definitions
abbreviation
NTR Nothing to Report.
There is no information to a specific topic available or necessary.

Page 4
BTW Version: 1.0
Installing and Configuring PHP, Eclipse, Zend and XAMPP Date: 2008-11-11

2. Installation and Configuration of PHP, Eclipse, Zend debugger and


XAMPP.
2.1 Install JDK
Installation of JDK and setting JDK Home and path is prerequisite.
2.2 Install Eclipse
1. Visit www.eclipse.org to download the below version of eclipse. This link will take you to the
download site directly http://www.eclipse.org/downloads/download.php?
file=/technology/epp/downloads/release/europa/winter/eclipse-jee-europa-winter-win32.zip

2. After the download, just unzip into Program files. The final directory structure should be
C:/Program files/eclipse/
3. There is no installation for eclipse. Just execute eclipse.exe and eclipse starts.
4. Also take care that you do not install PDT (PHP development tool). This is because in PDT, we
cannot configure XAMPP.
5. The installed JDK has to be configured in Eclipse. Windows => Preferences => Java => Installed
JRE => ADD => Browse => OK.
2.3 Install XAMPP
1. XAMPP is bundle of open source software. XAMPP consists of integrated Apache server,
MySQL, PHP and Perl, hence called XAMPP.
2. Download and install XAMPP from http://www.apachefriends.org/en/xampp.html . The specific
link for the latest download is http://www.apachefriends.org/en/xampp-windows.html#641 . You
can download “installer” or “zip”. Installer is easier to install.
3. Once XAMPP is installed and launched. A common console is open for managing Apache and
MySQL. It is much easier to start and stop the servers from this console.

2.4 PHPeclipse (a plug-in to Eclipse for PHP)


1. In Eclipse, go to Windows => Preferences. In the left column. There is no PHPeclipse tab,
indicating that the current eclipse does not support PHP and a PHP plug-in is required.
2. Visit http://sourceforge.net/project/showfiles.php?group_id=57621 to download PHPeclipse-1.2.1.

Page 5
BTW Version: 1.0
Installing and Configuring PHP, Eclipse, Zend and XAMPP Date: 2008-11-11

We download PHPeclipse-1.2.1 because, our Eclipse version on Eclipse3.3.x.


3. A zipper version is downloaded to the location specified.
4. Now unzip to find two folders extracted namely “features” and “plug-in”.
5. Copy the contents (not the folder) of “features” and paste them into “C:/Program Files/eclipse/
features”. (In my case, there were 3 folder to be copied)
6. Copy the contents (no the folder) of “plug-in” and paste them into “C:/Program Files/ eclipse/plug-
in”. (In my case, there were 17 folders copied)
7. Ensure that there is no file/folder deleted in the above process.
8. Restart eclipse and go to, Windows => Preferences. Now, in the left column, PHPeclipse tab
should be available.
2.5 Integrate XAMPP to Eclipse

1. If an auto configure has not taken place, manually the components of XAMPP has to be
configured in Eclipse.
2. Go to, Windows => Preferences => PHPeclipse =>PHP External Tools.
3. Here Apache, MySQL and XAMPP will be seen. Their respective location has to be configured.

2.6 Check for a simple project


1. Open Eclipse
2. Windows =>Open Perspectives => others =>PHP
3. Now you should see the XAMPP bar on the top of the window with icons to start/stop
XAMPP/MySQL/Apache.
4. Create a new PHP project. File =>
Give a proper Project name.
IMPORTANT: Uncheck “use default location” and browse this path “C:\xampp\htdocs\<Project
folder>”. Project folder should be newly created at that location.
5. So all your project file will go into “C:\xampp\htdocs\<Project folder>”.
6. Now create a new HTML page under this project and edit the file.
7. Start XAMPP using the icon in eclipse.
8. Right click on the HTML page and click “open PHP browser”.
9. The result would be negative. In the browser path, edit the path to include the <Project folder>
created which will be missing in the default browser path.
a. E.g. http://localhost /Test.html to http://localhost/NewFolder/Test.html. Here NewFolder is
the <Project Folder>.
2.7 Making a Database connection

2.8 Installing Zend debugger

2.9 Using Google API

2.10 Auto generation of Data access layer with tool compatible with PHP

2.11 Creating a layered architecture prototype project


Example: Create a project with a simple GUI and a simple Database. A Data access layer should be created
using a tool. A business logic layer should be created and the interaction between all these layers should be
handled.

Page 6

You might also like