Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not having success getting the PDT (PHP Development Tools, SDK 2.0.2 and 2.1.2) plugin to work in Eclipse in Ubuntu 11.04. I encounter the following page when attempting to run a php file:

Not Found

The requested URL /TestPHP/tester.php was not found on this server. Apache/2.2.17 (Ubuntu) Server at localhost Port 80"

When I navigate to, I see the code in the tester.php file rendered as text, where it's not actually interpreting the code but directly printing it.

Here is the procedure I followed from installation to attempted execution: Install Eclipse -> Install PDT 2.1.2/2.0.2 -> Install Lamp using Tasksel install -> Add ServerName localhost in confd file -> Start Eclipse -> Open PHP Perspective -> Create new PHP project -> Create new PHP file -> run file with "Run as PHP Web Page" on the sub-menu for the Run button.

share|improve this question

You need to install the php packages:

$ sudo apt-get install php5-common php5-cgi
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.