To allow an .shtml file to parse a .php include:
Options FollowSymLinks Includes Indexes
IndexOptions +NameWidth=*
Then in the .shtml file use something like this:
-------
To allow a .php file to include .shtml files, you may need to edit /etc/php.ini with the following changes:
include_path = /path/to/docs
doc_root = /path/to/docs
service httpd restart
And use the following type of syntax in the .php file:
Note the leading “../” in the include path.
The include file does not have to be .shtml (could be .html or .php, obviously)