Windows 7 Forums


Windows 7: New Context Menu - Add PHP Extension


New Context Menu - Add PHP Extension

How to Add .php to the New Context Menu Item in Windows 7
Published 29 Oct 2009
Published by

Featured Tutorial

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive

Clean Reinstall - Factory OEM Windows 7
Clean Reinstall - Factory OEM Windows 7

How to Clean Reinstall a Factory OEM Windows 7

Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup
Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup

How to Perform an Emergency Data Backup When Windows 7 Will Not Boot

SF Diagnostic Tool - Using for Troubleshooting
SF Diagnostic Tool - Using for Troubleshooting

Using SF Diagnostic Tool for Troubleshooting

Troubleshooting Windows 7 Failure to Boot
Troubleshooting Windows 7 Failure to Boot



Screen Capture and Video Editing in High Quality
Screen Capture and Video Editing in High Quality


How to Add .php to the New Context Menu Item in Windows 7

information   Information
This will show you how to add the .php extension to to the New Context Menu Item in Windows 7.
Note   Note
This has only been tested with .php and .php3. Also there is a download for the .reg files at the bottom!


This was founded by kegobeer, all credits go to him. I'm just making the tutorial.
warning   Warning
Messing with the Windows Registry can make your computer no longer work! You should create a restore point before doing this in case you need to undo it by doing a System Restore.




Step 1
Run Windows Registry Editor, Click Start > Run and type in regedit, click Yes to the prompt.


Step 2
Navigate to HKEY_CLASSES_ROOT and expand it. Right click and create a new key, call it phpfile.
Name:  1.png
Views: 2217
Size:  3.6 KB

Step 3
Change the default value to PHP File.

New Context Menu - Add PHP Extension-2.png


Step 4
Create a new Expandable String Value, and call it FriendlyTypeName


Step 5
Give it a value of @="PHP File"
New Context Menu - Add PHP Extension-3.png
Step 6
Navigate up to .php, and change the default value to phpfile.
New Context Menu - Add PHP Extension-4.png



Step 7
Create a new key for .php called ShellNew


Step 8
Then in the right pane, create a new string value called NullFile
New Context Menu - Add PHP Extension-5.png


Thats it and your done, logout and back in to see the changes!


Download!
download
Note   Note
Includes Step 1.reg and Step 2.reg.
Tip   Tip
Run Step 1 First then Step 2.








Need more help? Try searching our extensive help and support site.
Loading
Comment

 New Context Menu - Add PHP Extension problems?



Tutorial Tools



Similar help and support threads for: New Context Menu - Add PHP Extension
Windows 7 Tutorial Category
New Context Menu - Remove & Restore Default Menu Items Tutorials
Duplicate entries in context menu (only when searching in start menu) General Discussion
How do I move context menu items into a cascading context menu? Customization
Relocate WinRAR Context Menu (Context Menu Handlers) Customization
Solved .php extension just won't appear in the 'New' context menu Customization


All times are GMT -5. The time now is 06:08 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32