Software⏱️ 3 min read📅 2026-06-11

How to Fix: PDT/PHP plugin in Eclipse in Ubuntu not working - "page not found" error

Eclipse PDT plugin not working in Ubuntu, page not found error.

Quick Answer: Check server configuration and ensure Lamp is properly installed.

The PDT (PHP Development Tools) plugin in Eclipse is not working correctly on Ubuntu 11.04, resulting in a 'page not found' error when attempting to run PHP files. This issue affects developers who rely on PDT for PHP development and debugging.

This frustrating error can be caused by several factors, including incorrect configuration of the Lamp server or issues with the Eclipse plugin itself. In this guide, we will walk you through the steps to resolve this issue.

💡 Why You Are Getting This Error

  • The primary cause of this error is likely due to the fact that the PDT plugin is not properly configured to use the Lamp server. The plugin may be trying to run the PHP file on a different server than the one it's actually located on, resulting in the 'page not found' error.
  • Another possible cause is an issue with the Eclipse plugin itself, which may be causing it to misinterpret the PHP code or fail to execute it correctly.

🔧 Proven Troubleshooting Steps

Configuring the Lamp server and PDT plugin

  1. Step 1: Step 1: Ensure that the Lamp server is properly configured by checking the configuration files (e.g. conf.d/apache2.conf). Make sure that the ServerName directive is set to 'localhost' or the IP address of your machine.
  2. Step 2: Step 2: Restart the Lamp server after making any changes to the configuration files.
  3. Step 3: Step 3: In Eclipse, go to Window > Preferences > PHP > Server Locations and ensure that the correct Lamp server is selected as the server location.
  4. Step 4: Step 4: Try running the PHP file again using the 'Run as PHP Web Page' option to see if the issue persists.

Updating PDT plugin

  1. Step 1: Step 1: Update the PDT plugin to the latest version by going to Help > Check for Updates in Eclipse.
  2. Step 2: Step 2: If an update is available, install it and restart Eclipse.
  3. Step 3: Step 3: Try running the PHP file again using the 'Run as PHP Web Page' option to see if the issue persists.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'page not found' error when attempting to run PHP files with the PDT plugin in Eclipse on Ubuntu 11.04. If you continue to experience issues, it may be worth seeking further assistance from a PHP or Eclipse expert.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions