- Navigate to the directory where you installed PHP,make a text document, and
rename it untitled.php
- Open the registry editor using by using the start menu's search
function and typing RegEdit
- Find the .php key in HKEY_CLASSES_ROOT, and create a subkey called
- In ShellNew, create a new String Value with the name
the data should be to your untitled PHP file (Mine is
@%SystemRoot%\Programs\PHPApache\untitled.php,-470, for example (I'm not sure what the ,-470 means, but I put it there because .txt files had it as well)). Just
redirect this to the correct path for your installation.
- Then make a new Expandable String Value and name it
- Go to your desktop, right click, and it should show an option for a
new PHP file.
This should be correct, but I had some difficulties following the guide I had originally posted, sorry, and once I got it to work correctly I couldn't remember the exact steps. This should work correctly, however, if not tell me so. To get this list of steps I looked at the values for a .txt document, since you are also able to make a new text document by right clicking.