Search code examples
phpeclipsezend-studioeclipse-pdtinclude-path

How do I add the PHP libraries to my basic remote project in eclipse?


I have a basic project that was created from a remote system using the eclipse tools to setup that connection. I right clicked on the folder on my remote system and chose create a new project. Now, I want to add PHP to the build path, but it is just a basic project. How do I quickly add those libraries with Eclipse PDT or Zend Studio installed?


Solution

  • Not sure if this what you are looking for, but try

    • Right click the project folder in the Explorer and click Open Project.
    • Right click the project folder again.
    • Find and click Configure from the Context Menu
    • In the submenu find and click Add PHP Support

    In case you want to configure the include_path:

    • Right click the project folder in the Explorer and click Open Project.
    • Right click the project folder again.
    • Find and click Include Path from the context menu
    • In the submenu find and click Configure Include Path
    • Add any resources you need in the tabbed dialog

    If both of this is not what you are looking for, please clarify the question.