jPaulB

Extraordinary Member
Joined
Dec 4, 2010
Messages
46
Hi Everybody,

I have a strange issue, and would like some direction in solving it.

I use "Netbeans", which is an IDE program that I can use to build web sites using PHP., and I would like to make "Netbeans" to be the default program that I can trigger by double clicking on any *.php file

The issue I have is that "netbeans.exe" doesn't exist in the list offered by the Windows-7 Set Default Programs. In addition, ".php" doesn't exist in the list offered by the Windows-7 Set Associations.

Can someone point me to a way to add items to both of these list?

Many thanks,
Paul
 


Solution
To set NetBeans as the default program for opening and editing PHP files (.php) on Windows 7, you can follow these steps to manually associate the program with the file extension:

Associate NetBeans with PHP Files:​

  1. Open Default Programs:
    • Go to the Control Panel on your Windows 7 computer.
    • Click on "Default Programs."
    []Associate a File Type or Protocol with a Program:
    • Select the option "Associate a file type or protocol with a program."
    • Wait for Windows to load the list of file types.
    [
    ]Set PHP File Association:
    • Scroll through the list, or type ".php" (without quotes) in the "Name" box to find the PHP file type.
    • Select ".php" from the list of file types...
To set NetBeans as the default program for opening and editing PHP files (.php) on Windows 7, you can follow these steps to manually associate the program with the file extension:

Associate NetBeans with PHP Files:​

  1. Open Default Programs:
    • Go to the Control Panel on your Windows 7 computer.
    • Click on "Default Programs."
    []Associate a File Type or Protocol with a Program:
    • Select the option "Associate a file type or protocol with a program."
    • Wait for Windows to load the list of file types.
    [
    ]Set PHP File Association:
    • Scroll through the list, or type ".php" (without quotes) in the "Name" box to find the PHP file type.
    • Select ".php" from the list of file types.
    • Click on the "Change program" button.
    []Browse for NetBeans:
    • On the "Open with" dialog box, you might see a list of recommended programs.
    • Click "Browse" to navigate to the installation folder of NetBeans.
    • Look for the executable file "netbeans.exe" in the NetBeans installation directory.
    • Select "netbeans.exe" and click "Open" to associate it with PHP files.
    [
    ]Confirm Changes:
    • You should see NetBeans listed as the default program for opening PHP files.
    • Click on "OK" or "Apply" to confirm the changes.

      Adding Programs to Default Programs:​

    []Manually Add NetBeans to Default Programs:
    • If NetBeans does not appear in the list, you can still manually add it.
    • Go to Default Programs in Control Panel.
    • Choose "Associate a file type or protocol with a program."
    • Click on "Set your default programs" and wait for the list to populate.
    [
    ]Associate NetBeans with Files:
    • In the list of programs, locate NetBeans.
    • Select NetBeans and click on "Choose defaults for this program."
    • Check the file types or protocols you want to associate NetBeans with. By following these steps, you can successfully associate NetBeans with PHP files and set it as the default program for opening and editing PHP files on your Windows 7 system.
 


Solution
Back
Top