I am using Ubuntu 12.04 TLS. I had installed Netbeans on my PC. I want change default file to netbeans. 

I've tried to right-click on a php file > Properties > Open With > Show other Application ; but there is no netbeans anywhere.

How can I set the default program for opening php files?