I have moved my codeigniter site to Amazon EC2 server. All of a sudden, it stoped working I fount that the template (php) is treated as HTML and not PHP. Hence variables & functions in template are not executed.
<link href="/<?php=$this->config->item('url_suffix')?>css/sliders.css" rel="stylesheet" type="text/css">
<link href="/<?php=$this->config->item('url_suffix')?>css/buttons.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/<?php=$this->config->item('url_suffix')?>js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/<?php=$this->config->item('url_suffix')?>js/jquery.validate.min.js"></script>
<script type="text/javascript" src="/<?php=$this->config->item('url_suffix')?>js/jquery.cycle.all.js"></script>
<script type="text/javascript" src="/<?php=$this->config->item('url_suffix')?>js/js.slide.js"></script>
This is what I get in the browser