0

hi guys, I had installed WAMP on my win 7 workstation, the PHP file is not executed or run in IE and firefox but works fine in Google Chrome.
any ideas is greatly appreciated.

Thanks.

2
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by cguan_77
0

hi guys, i found a solution on this link from Daniweb also. http://www.daniweb.com/hardware-and-software/microsoft-windows/threads/30275/ie-wont-open-local-php-files-anymore
need to do some registry editing, and here's the solution from the URL above:
u need to change the .php file settings through regedit. Go to start --> run --> regedit --> under HKEY_CLASSES_ROOT, right click on .php file and select New String value. Name it Content Type. Then double click Content Type in the right panel of the window and add text/html under Value data.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.