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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2.0 & html include/require

Status
Not open for further replies.

rouse01

IS-IT--Management
Sep 10, 2001
143
US
I've developed a website on apache 1.2.23 server with php 4.1.2 (linux). Some of my pages use the php require("file.inc"), and this works fine on the developement server. However I cannot get this to work on apache 2.0 with php 4.22. I'm pretty sure it's something in my httpd.conf, but can't find any info on a fix.
 
I figured it out. I was using the php shortcut tag &quot;<?&quot; which for some reason works ok on the developement server. I changed the tag to &quot;<?php&quot; and it's working fine on the new server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top