Forum Moderators: open
I've installed configured & tested Carp and it works fine however I have a problem in that all of my pages are shtml and rely heavily on server side includes which don't display if I change the file extension to .php.
I'm no programmer and know almost nothing about php, I can just install and configure scripts (if they're well documented).
Is there a way to use server side includes in .php pages?
Thanks
These are the 2 solutions that I dreamed up:
1. Try using PHP includes instead of SSI
2. Try configuring your server to parse SSI in .php files.
I have an apache server and wanted to use SSI with .html files instead of .shtml files and used the following code in a .htaccess file in my root folder:
AddHandler server-parsed .html
I am guessing that you could try an .htaccess file with the following code:
AddHandler server-parsed .php
I did a bit of research for you and it looks like you may find more detailed answers in this thread: Parse HTML or not [webmasterworld.com]