Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: .php extension just won't appear in the 'New' context menu

13 Dec 2011   #1
denno

Windows 7 Home Premium 64bit
 
 
.php extension just won't appear in the 'New' context menu

I have been playing with the registry, customising my 'New' content menu that appears when I right click in windows explorer. I added the .php file extension to this list, which worked when I first did it a little while ago. I have recently noticed that it is no longer in this list, and no matter how many times I delete the entry and re-add it to the registry, it just won't appear in menu.

This is the current registry entry for .php:
Code:
[HKEY_CLASSES_ROOT\.php]

[HKEY_CLASSES_ROOT\.php\ShellNew]
"NullFile"=""
And I've also got this for phpfile:
Code:
[HKEY_CLASSES_ROOT\phpfile]
@="PHP Script"

[HKEY_CLASSES_ROOT\phpfile\Shell]

[HKEY_CLASSES_ROOT\phpfile\Shell\Edit with Adobe Dreamweaver CS5]
"LegacyDisable"=""

[HKEY_CLASSES_ROOT\phpfile\Shell\Edit with Adobe Dreamweaver CS5\Command]
@="\"C:\\Program Files (x86)\\Adobe\\Adobe Dreamweaver CS5\\Dreamweaver.exe\",\"%1\""

[HKEY_CLASSES_ROOT\phpfile\ShellNew]
"NullFile"=""
Is anyone able to spot what I've done to make the option not appear in the New context menu like it once was?

Any help will be greatly appreciated.
Denno


My System SpecsSystem Spec
.
14 Dec 2011   #2
Evil Nemesis

Windows 8.1 Pro x64
 
 

Try this
My System SpecsSystem Spec
14 Dec 2011   #3
denno

Windows 7 Home Premium 64bit
 
 

Thankyou for the reply, but if you look at my original post, you will see that I have already done what you are linking to.
My System SpecsSystem Spec
.

14 Dec 2011   #4
Evil Nemesis

Windows 8.1 Pro x64
 
 

man I just tried here on win7 ultimate x64 many times and it works just fine, did you take the ownership of that key ?
My System SpecsSystem Spec
14 Dec 2011   #5
denno

Windows 7 Home Premium 64bit
 
 

I also mentioned in my original post that I have already done it previously, and it worked, however for unknown reasons, it doesn't work anymore..

How would I take ownership of the key?
My System SpecsSystem Spec
14 Dec 2011   #6
Evil Nemesis

Windows 8.1 Pro x64
 
 

My System SpecsSystem Spec
14 Dec 2011   #7
denno

Windows 7 Home Premium 64bit
 
 

I went through that, but it didn't seem to change anything? When I was clicking on permissions, it told me that the permissions for .php were ordered incorrectly, so I clicked reorder, but that didn't seem to help.. Would I have to restart the computer for the effects to take place?
My System SpecsSystem Spec
14 Dec 2011   #8
Evil Nemesis

Windows 8.1 Pro x64
 
 

no,
can you delete the key ? if so then you have permissions.
My System SpecsSystem Spec
14 Dec 2011   #9
denno

Windows 7 Home Premium 64bit
 
 

Yeah I was able to delete the key before, and have re-added it.. I'm guessing there isn't much else that can be done?
My System SpecsSystem Spec
14 Dec 2011   #10
Evil Nemesis

Windows 8.1 Pro x64
 
 

1. Try doing this on a virtual machine
also try this method and report back :

How to Add Any Application to the Windows Desktop Right-Click Menu - How-To Geek
My System SpecsSystem Spec
Reply

 .php extension just won't appear in the 'New' context menu




Thread Tools




Similar help and support threads
Thread Forum
New Context Menu - Remove & Restore Default Menu Items
How to Remove and Restore the Default "New" Context Menu Items in Windows 7 and Windows 8 This will show you how to either remove or restore the default New context menu items in Windows 7 and Windows 8. These include the NEW - Folder, Shortcut, Bitmap image, Contact, Journal Document, Rich...
Tutorials
Context Menu - Create Cascading Menu of Multiple Layers
How to Create a Desktop Cascading Context Menu of Multiple Layers in Windows This tutorial will help show you how to build your own cascading context menu on the desktop in Windows 7 and Windows 8. Therefore, stop reading and make yourself a list of 12 programs that can be divided into...
Tutorials
Add "open with" context menu to URL extension
How would i go about adding the "open with" option in the context menu for URL extensions? I use 3 different browsers since some do things better than others, and id like more of an option when opening a link I've placed on my desktop other than always using the default browser. So I'd like to be...
Customization
How do I move context menu items into a cascading context menu?
Okay, I'm not sure if this can be done as easily as I'm hoping. What I'm wanting to do is move already existing context menu items into a cascading context menu to organize and reduce clutter. For instance, I would have a cascading menu named "Scan with" and inside it would be avast! Internet...
Customization
Unable to remove MagicISO context menu from right click menu in Win 7
Hey it's been a while since I've last been here, I really enjoy this Win 7 community hope everyone is doing well. Anyway let me cut to the chase, basically I want to be able to remove the MagicISO context menu from the right click context menu in Windows 7. See pics to understand what I'm...
Customization
New Context Menu - Add PHP Extension
How to Add .php to the New Context Menu Item in Windows 7 This will show you how to add the .php extension to to the New Context Menu Item in Windows 7.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,...
Tutorials


Our Sites

Site Links

About Us

Find Us

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

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

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App