Preview pane not working with .php files

Windows 7 Box,domain logon,admin pack,taskbar thumbnails,task scheduler

When you try to use preview pane in Windows Explorer to view .php files you might get the following message:

No preview available

This issue occurs when you don’t have installed any .php handler like Adobe Dreamweaver for instance.

To resolve this, we’ll need to do changes to Windows Registry.

Hit Win ORB (Start Menu) | Type: regedit | Navigate to: HKEY_CLASSES_ROOT\.php


Select the .php folder and in the right pane check if you have the following key:

PerceivedType REG_SZ text

If this key isn’t available, right click on the .php folder and click ‘New String Value’

Type: PerceivedType | Double click on the newly created key and modify it’s value to ‘text

Close the Registry Editor and see if you can preview .php files in Explorer now.

On my PC this is working by default, but on some PC’s, this action is required in order to get the preview working for .php files.

With these changes preview pane in Windows Explorer should work properly.

You may also like...

2 Responses

  1. laokinsham says:

    Very nice tutorial, i was looking for this has benn a long time.
    Thanks

  2. Heino Lengfelder says:

    Works fine.
    thank you very much!

Leave a Reply

Your email address will not be published. Required fields are marked *

five + eighteen =

This site uses Akismet to reduce spam. Learn how your comment data is processed.