简体   繁体   English

用于Magento的Eclipse PHP开发

[英]Eclipse PHP Development for Magento

I am trying to install the PHP development environment so I can use the Magento plugin. 我正在尝试安装PHP开发环境,以便可以使用Magento插件。 I am not a PHP developer so I do not have PHPStorm. 我不是PHP开发人员,所以我没有PHPStorm。

I am having a lot of trouble with problems such as: 我遇到了很多麻烦,例如:

Cannot complete the install because one or more required items could not be found.
  Software being installed: PHP Development Tools (PDT) Smart Import 4.2.0.201611142355 (org.eclipse.php.importer.feature.group 4.2.0.201611142355)
  Missing requirement: PHP Development Tools (PDT) Smart Import 4.2.0.201611142355 (org.eclipse.php.importer.feature.group 4.2.0.201611142355) requires 'org.eclipse.ui.ide 3.12.0' but it could not be found

Error on Toolkit 0.1.6 install:
Cannot complete the install because one or more required items could not be found.
  Software being installed: Magento Developer Toolkit 0.1.6.201311011730 (pl.mamooth.eclipse.magento.feature.feature.group 0.1.6.201311011730)
  Missing requirement: PHP Development Tools (PDT) 4.0.1.201606232253 (org.eclipse.php.feature.group 4.0.1.201606232253) requires 'org.eclipse.dltk.core.feature.group 5.5.0' but it could not be found
  Missing requirement: PHP Development Tools (PDT) 4.2.0.201611142355 (org.eclipse.php.feature.group 4.2.0.201611142355) requires 'org.eclipse.dltk.core.feature.group 5.6.0' but it could not be found
  Cannot satisfy dependency:
    From: Magento Developer Toolkit 0.1.6.201311011730 (pl.mamooth.eclipse.magento.feature.feature.group 0.1.6.201311011730)
    To: org.eclipse.php.feature.group 3.0.0

I have tried to install PHP PDT 4.2, and Language tools multiple times. 我尝试多次安装PHP PDT 4.2和语言工具。

The code you are trying to install requires at least version 3.12.0 of the org.eclipse.ui.ide plugin. 您尝试安装的代码至少需要org.eclipse.ui.ide插件的3.12.0版本。 This version of the plugin is in Eclipse Neon (4.6). 该版本的插件在Eclipse Neon(4.6)中。 Trying to install in an older version of Eclipse will not work. 尝试在较旧版本的Eclipse中安装将无法正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM