exploder Posted March 17, 2008 Share Posted March 17, 2008 :-\Can PHP written in an .html file work on IIS ? I have php5 running on windows 2003 server IIS. PHP works fine with the files have the .php extention, but when I put php code inside of a .html file, the php code doesn't execute. I don't know much about IIS so I'm not sure if this will work or not. .htaccess files don't work with IIS so is there any other way to use php code inside of html files ? thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/96588-php-in-html-file-on-iis/ Share on other sites More sharing options...
exploder Posted March 18, 2008 Author Share Posted March 18, 2008 I guess not since there seems to be nothing to be found on the web about it. Looks like I will either move to apache or rewrite my .html files to .php files. Thanks for looking. Quote Link to comment https://forums.phpfreaks.com/topic/96588-php-in-html-file-on-iis/#findComment-494916 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.