I have a new Centos 5.8 /Apache server 2.2.3 running PHP 5.1.6. Virtual web servers also.
Both files are called index.php.. so php extensions are being processed.. I'm just stuck explaining the problem much less a cure..
My issue it that php within html code seems to work fine..
<html>
<head>
<title>PHP test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
however pure php code does not.
<?php
$home = "Y";
include ("header.php");
?>
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery.nivo.slider.pack.js" type="text/javascript"></script>
<style type="text/css">
...
This may be more of an Apache config issue, however I though this forum may know the issue faster.


