hovenj Posted June 15, 2007 Share Posted June 15, 2007 Hello, I'm using Windows Vista Home Premium, IIS7, and PHP5. Searching the internet it looks like I need to add the mime type. Does anyone know how to make this work in IIS7? I go to MIME types and try to add php, but is there anything simpler, closer to the apache add type? Whatever I add, I can't seem to get the webserver to parse the php tags. Appreciated, john Link to comment https://forums.phpfreaks.com/topic/55674-how-to-enable-php-in-static-html-files/ Share on other sites More sharing options...
hovenj Posted June 15, 2007 Author Share Posted June 15, 2007 You can mark this solved... sort of. I ditched IIS figuring it was a lot less stress to just run apache. I'm a .Net developer for a living so I was hoping to not have to switch back and forth. I ran apache, and was still having the .html files not rendering the php. Most sites have the add type .php part, but not : AddType application/x-httpd-php .php .html Just wanted to throw this out here because I saw several posts about the same topic and never a definative answer at the end. Link to comment https://forums.phpfreaks.com/topic/55674-how-to-enable-php-in-static-html-files/#findComment-275593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.