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.
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.
Jump to PostAre you running both through http://localhost/nameoffile.php ? If so then there should be no issue as it is all server end.
Are you running both through http://localhost/nameoffile.php ? If so then there should be no issue as it is all server end.
yes, i'm running like that http://localhost/myfile.php, but it doesn't work on IE and Firefox, but Google chrome is fine..
anyone encountered same problem before?
thanks.
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.