Question

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..

Was it helpful?

Solution

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

OTHER TIPS

Make sure that you have PHP Plugin installed and active.

Click Tools (menu) -> Plugins (menu) -> Installed (tab).

You should see window like this:

PHP Plugin installed and active in NetBeans

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top