Installation of eclipse php in ubuntu

后端 未结 4 947
暗喜
暗喜 2021-02-03 11:57

How to install eclipse php in ubuntu platform using apt get install. Any other utilities are required to do that

相关标签:
4条回答
  • 2021-02-03 12:08

    here is the correct & Easy way : http://ubuntulinuxpower.blogspot.com/2013/01/installing-eclipse-pdt-with-php-support.html

    0 讨论(0)
  • 2021-02-03 12:10

    I think there are the SIMPLEST one for UBUNTU 10+ ... and I have problems with the other "handmade methods" answered here.

    SEE https://help.ubuntu.com/community/PHPEclipse or https://help.ubuntu.com/community/EclipsePDT

    1. Use "software centre" or Synaptic to install Eclipse... or apt-get.

    2. Run Eclipse and use the Help/Add to add the PHP-Eclipse (PDT) package.

    (Pascal's answer says "Don't use apt-get" but I say) UBUNTU supports and I recommend: USE IT, use apt-get! Is faster, simple and secure!

    PS: "PDT - PHP Development Tool" is the official name for "Eclipse-PHP".


    DETAILED INSTALLATION

    NOTE: On Ubuntu 10+ this method will install Eclipse 3.5+ (Galileo) and PDT 2.1+. If you have problems or want "lower risk to re-do", run, at the second step bellow, the Eclipse with root, $sudo eclipse

    1. Install Eclipse: Open Synaptic Package Manager (System/Administration/Synaptic Package Manager), Find the package "eclipse" and mark it for installation, Click Apply.

    2. Install PHP Development Tools (PDT): Open Eclipse (you must specify your workspace); ignore the "Welcome to Eclipse" screen is displayed, select menu Help/Install New Software...

      • The "Galileo" site must be added, click "Add..." and input:
      • Name: Galileo   Location: http://download.eclipse.org/releases/galileo/
      • Once this is available, select "Galileo" in the Work with: drop-down list.
      • Enter "php" into the filter text, two entries should be displayed for "PHP Developer Tools (PDT)"; one under Programming Languages, another under Web, XML, and Java EE Development. Select both and click "Next".
      • Verify that the items you wish to install are displayed on the "Install Details" screen and click "Finish".
      • Eclipse will need restarted for the update to complete.
    0 讨论(0)
  • 2021-02-03 12:15

    The simplest solution, which will allow you to have the latest version, would be to :

    • go to http://eclipse.org/pdt/
    • download the lastest version (icon on the right)
    • Choose the "PDT 2.1 All In Ones / Eclipse PHP Package" package that's OK for you : Linux x86, 32 or 64 bits
    • download that package
    • unzip it
    • and voila, you can run Eclipse PDT

    Advantages :

    • last version
    • doesn't require root privileges

    I'm always using this solution, because new versions of Eclipse PDT generally bring nice enhancements, and are not integrated on the Ubuntu repositories before a long time passes... And I've never had any problem with this solution.

    0 讨论(0)
  • 2021-02-03 12:26

    Don't! Don't use apt-get for Eclipse. Instead, follow these steps to install it "manually".

    0 讨论(0)
提交回复
热议问题