Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.shtml .PHP and SSI

Status
Not open for further replies.
Jan 17, 2002
106
US
I have a .shtml file (used as SSI) that includes some php code. It is running on an Apache server 2.0 with PHP 4.2.2 running. The include seems to work in this file but the PHP code is not being read correctly. If i change the file to a .PHP the include no longer works but the PHP code comes out correctly. Does any one know what I have configured wrong?

This .shtml file scenario is working on another server that is running apache 1.3 and PHP 4.2.2.

Thanks in advance...
 
Maybe add .shtml to your php add-type as well as your include add-type forcing the handlers to chain up and double process it?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top