How to enable PHP support in Netbeans? - php

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.
I've gone to the netbeans website and I am not sure which php plugin to download.
Can someone please help me with this?
Ubuntu 12.04 64bit has netbeans 7.0.1 in the software repository.

Go to Tools->Plugins.
In the Settings tab ensure that the update center Netbeans Distribution is active.
Then in the Available Plugins tab click on Reload Catalog and you should see PHP.
Also you have to make your LAMP config, this link can help you.
If you have already download the full bundle go in Installed tab and activate PHP.

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

Click on menu File > New Project
then select PHP from the Categories list, on click you will see PHP being initialized automatically...
For a detailed answer visit
http://digitdrive.blogspot.in/2013/11/developing-php-project-on-netbeans-ide.html

Goto Tools > Plugins > Available Plugins
search for PHP Enhancements .
But first of all you should download netBeans version that support PHP.
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.
any of those to distributions should work will on PHP.

Related

How to install PHP support in eclipse Luna?

I downloaded the latest eclipse version "Luna".
But I am not able to find PHP support in the "Install New Software"
Can anyone provide me with the software site link for installing php support and symfony/twig plugin for eclipse luna ?
UPDATE
Click on Help on the top menu.
Choose Install New Software
Choose the Luna from the available site link
Now on the below section, type PHP.
That should bring you list of softwares for PHP tools.
http://download.eclipse.org/tools/pdt/updates/latest/ (upadated)
And for Symfony/twig:
http://p2-dev.pdt-extensions.org/
eclipse -> help-> install new software
work with drop down select your luna
then list of tools is given below
select programming tool its list of some program language like c c++ php select php then next
accept the terms and condition that's all over
eclipse open perspective choose php then work in php code

Netbeans PHP project - can't create a new one

netbeans noob - first time running ubuntu and ever using netbeans just a heads up..
I can't create a new project in netbeans. I downloaded the plugins i wanted for PHP
When i go to File -> New Project the only item i see under categories is "Samples." Samples is broken down into two sub-categories which are ApiSupport and PHP.
Any ideas on how to fix this?
Thanks in advance..
Make sure that you have PHP Plugin installed and active.
Click Tools (menu) -> Plugins (menu) -> Installed (tab).
You should see window like this:
If there is no PHP Plugin - install it (go to Available and search for PHP with description similar to mine).
If there is PHP Plugin but inactive - select it in "Select" table column and press "Activate" button.
If there is PHP Plugin and it is active - reinstall it by using Plugin window.
I realize this is an old thread, but I was looking for the answer today and ran into the same issue. Though the previous answer is technically correct, it was not the issue I was having as I already had the plugin (it came with the Netbeans download). That said, the issue was not having a lamp environment. Once installed apache, php, and mysql, the PHP category showed up. Instructions from Netbeans can be found on their website, but if you are using Ubuntu (or anything Debian based) you can run
sudo apt-get install php5 php5-mysql mysql
PHP5 has a dependency for Apache so it will ask if you want to install dependencies. You just say yes. If my memory serves, Redhat (CentOS and Fedora) would be:
yum install php php-mysql mysql

Current method for using eclipse for java and php?

super easy question that i can't find the answer to on eclipse's website....
i have a new laptop and am installing eclipse on it. things seem to have a changed a bit since the 3.5 version i have on my current comp. i recall dloading eclipse just once, and then installing some plugins for stuff like php editing. but the new downloads page seems to have entirely different versions for the different languages:
http://www.eclipse.org/downloads/
so will i need to do one install for java, one for php, one for anything else? or is the method the same as before?
thanks,
jonah
You can install different development platforms onto your base Eclipse installation. Go to Help > Install new software and then try typing in PDT into the Work with text field. You should see it autocomplete with http://download.eclipse.org/tools/pdt/updates/. If selecting it doesn't automatically populate the area below, try the Add button.
You should eventually see options for the PDT SDK that you can select to install.
See also:
the official installation wiki
the package comparison page.

Eclipse on Windows 7 - Add PHP Support greyed out

I have Eclipse running on Windows 7, and am trying to work out how to get PHP support in my projects. Highlighting and intellisense seems to be working quite alright, but when I right-click my project and go to "Configure", the option "Add PHP Support" is grayed out.
Would anyone know how I could get that to be enabled, please?
Thanks in advance!
Are you sure that's what you want to do? I just tested in my Eclipse install, and everything that is already a PHP project has that option greyed out. The only project I can choose that option on is a Java project.
If you create a project by File -> New -> PHP Project then you don't need to do anything else to enable PHP support.

PHP Netbeans 6.8 subversion integration (Windows 7)

I am using Netbeans 6.8 for PHP (under Windows 7) and the subversion integration doesn't work. I am able to checkout a module but I don't see the subversion features in the menus or the outine in the editor left margin that shows the changes in the files. I am using it under Ubuntu with no problems.
Did any of you experimented the same problem? If yes, were you able to make it work?
Thanks!
Go to Tools -> Plugins and make sure the Subversion plugin is installed under the Installed tab. If it is make sure it's enabled as well. If not you'll need to install that plugin to bring the context menus into NetBeans. Once you get those try and run any Subversion command (like update) and if the underlying SVN installation hasn't been completed it should walk you through finishing it.
It is workng now, seems that in Windows the project MUST be in My Documents\NetBeansProject folder for the Subversion integration to work. I don't know if this is a bug but it is not behaving like this in Ubuntu.
Thanks for your help Cryo.
If the Netbeans svn plugin doesn't work, you can install a commandline subversion client like sliksvn and then netbeans should find the commandline tools.
Also, you should check your permissions on the folder you are working in. You probably don't have the permission required to use subversion in the folder that you are trying to use it in.

Categories