I ran a search on google how to do this but I'm not seeing anything on the web that tells you how to do this. How is this done? I'm experienced enough with Linux so that isn't a problem. I own my server so changing file isn't a problem either.
I want it to read .php and .html files. So in other words if I make a .html document I want to be able to put PHP inside of that .html document and PHP will still read the PHP.
My question is simple.... I just want to know how I can make it so when i create a .html file and and say for explain I want to add some PHP inside of the .html file PHP will still read the PHP inside of the .html file. We all know that PHP will not read a .html file by default setting. So I know because I've see other people doing this setup PHP in apache so that when you create a .html file and say for explain you wanted to add some PHP to that .html document PHP will still read the PHP inside of the .html file.... Like I said, all I'm wanting to know is how do I setup PHP so that it'll read files that are .html as well. By default PHP will not read .html files, it will only read .php.
I want it to read .php and .html files. So in other words if I make a .html document I want to be able to put PHP inside of that .html document and PHP will still read the PHP.
My question is simple.... I just want to know how I can make it so when i create a .html file and and say for explain I want to add some PHP inside of the .html file PHP will still read the PHP inside of the .html file. We all know that PHP will not read a .html file by default setting. So I know because I've see other people doing this setup PHP in apache so that when you create a .html file and say for explain you wanted to add some PHP to that .html document PHP will still read the PHP inside of the .html file.... Like I said, all I'm wanting to know is how do I setup PHP so that it'll read files that are .html as well. By default PHP will not read .html files, it will only read .php.