Jump to: navigation, search

PDT/FAQ

< PDT
Revision as of 17:51, 30 October 2007 by Remy.suen.gmail.com (Talk | contribs)

General

What is PDT?

The PDT is working towards providing a fully functional PHP Integrated Development Environment framework for the Eclipse platform. This project will encompass all development components necessary to develop PHP-based Web Applications and will facilitate extensibility. It will leverage the existing Eclipse WTP Project in providing developers with PHP capabilities. The main components in this project are: Editor (syntax highlighting, code assist and code folding), Inspection (file / project outline and PHP explorer view) and Debug (PHP script and web page methods).

How is PDT licensed?

PDT is licensed in accordance with the Eclipse Public License. Third party components built using PDT are made available under their own licenses

Does PDT include a debugger? Where can i find one?

PDT doesn't come with any bundled debugger but you can download Zend Debugger from Zend.com or XDebug from bugzilla.

See:

How do I ask questions?

Questions about the use of PDT in user projects that are not addressed in this FAQ should be posted to the PDT newsgroup. Questions and comments regarding the implementation of PDT itself should be posted to the PDT mailing list.

How do I report a bug or request a feature?

PDT like all Eclipse projects, uses Bugzilla as its bug and feature tracking system. Entering a bug or a feature report is as simple as filling in a web form on the eclipse bugzilla page. The first time you enter a bug you will need to create a new bugzilla account for yourself by providing an email address and choosing a password. Before submitting a bug, please be sure to check the list of open PDT bugs and recentely closed PDT bugs.

How do I make a suggestion for this FAQ?

Sign up for a Bugzilla account, log in here, and contribute your FAQ questions and answers by clicking edit.

Installation

How do I install PDT?

There are numerous approaches here, depending on your needs and starting point.

The simplest method is to grab the All-In-One bundle from the project's download site, if one is provided for your platform, eg., PDT 1.0. Note too that if you're running on a 64-bit operating system that you are going to need a 64-bit bundle (which may not exist).

But if:

  • there are no OS-compatible All-In-One bundles available, or
  • you already have Eclipse installed (for PDT 1.0 you need Eclipse 3.3 or a Europa Bundle such as JEE), and
  • you want to add a project to an existing Eclipse, then ...

... you'll need to either:

  • download the individual required projects (most download pages have a "Requirements" section you can use for reference, but this can still be a pain), or
  • use the Update Manager to install any of the project's prerequisites and the project itself.

To install PDT 1.0, you only need the Europa Discovery site and the PDT Update site. However, you may find that your chosen mirror fails due to bug 203794. Solution until that bug is fixed: try another one, or try an FTP site instead of an HTTP site.

Note that if you're installing from multiple update sites, you have to expand each one before you hit 'Select Required' for the wizard to be able to scan those sites and resolve all your dependencies. See bug 203473.

Once everything is installed, make sure you're running with a 5.0 or later JVM. Why 5.0+? PDT 1.0 requires WTP 2.0 which requires EMF 2.3. See EMF 2.3 JVM Requirements.

How do I convert an existing project to use PDT?

See How do I manually assign a project Nature or BuildCommand?

Additional Resources