如何在 Netbeans 中启用 PHP 支持?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10473109/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 22:15:58  来源:igfitidea点击:

How to enable PHP support in Netbeans?

phpnetbeansubuntunetbeans-7netbeans-plugins

提问by oshirowanen

On Ubuntu, I have install netbeans but it does not have any option to start a php project. I've looked at the plugin list and php is not in the list, neither is it in the plugins to download list.

在 Ubuntu 上,我安装了 netbeans 但它没有任何选项来启动 php 项目。我查看了插件列表,php 不在列表中,在插件下载列表中也没有。

I've gone to the netbeans website and I am not sure which php plugin to download.

我访问了 netbeans 网站,但不确定要下载哪个 php 插件。

Can someone please help me with this?

有人可以帮我解决这个问题吗?

Ubuntu 12.04 64bit has netbeans 7.0.1 in the software repository.

Ubuntu 12.04 64bit 在软件存储库中有 netbeans 7.0.1。

回答by alain.janinm

Go to Tools->Plugins.

Tools->Plugins

In the Settingstab ensure that the update center Netbeans Distributionis active.

Settings选项卡中确保更新中心Netbeans Distribution处于活动状态。

Then in the Available Pluginstab click on Reload Catalogand you should see PHP.

然后在Available Plugins选项卡中单击Reload Catalog,您应该会看到 PHP。

Also you have to make your LAMP config, this linkcan help you.

您还必须进行 LAMP 配置,此链接可以帮助您。

If you have already download the full bundle go in Installedtab and activate PHP.

如果您已经下载了完整的包,请进入Installed选项卡并激活 PHP。

回答by Sethunath

Please try select the php option from this page and install http://netbeans.org/downloads/index.html

请尝试从此页面选择 php 选项并安装 http://netbeans.org/downloads/index.html

回答by Amaan

Click on menu File> New Project
then select PHPfrom the Categorieslist, on click you will see PHP being initialized automatically...

单击菜单File> New Project
然后从Categories列表中选择PHP,单击您将看到 PHP 正在自动初始化...

For a detailed answer visit

如需详细解答,请访问

http://digitdrive.blogspot.in/2013/11/developing-php-project-on-netbeans-ide.html

http://digitdrive.blogspot.in/2013/11/developing-php-project-on-netbeans-ide.html

回答by Mohammed Omer

Goto Tools > Plugins > Available Plugins

转到工具 > 插件 > 可用插件

search for PHP Enhancements .

搜索 PHP 增强功能。

But first of all you should download netBeans version that support PHP.

但首先你应该下载支持 PHP 的 netBeans 版本。

there is 2 available distributions, one for PHP and Javescript, the other one is the fully fledged version that support for many programing languages , PHP is included of course.

有两种可用的发行版,一种用于 PHP 和 Javescript,另一种是完全成熟的版本,支持多种编程语言,当然也包括 PHP。

any of those to distributions should work will on PHP.

任何发行版都应该适用于 PHP。