I recently transferred one of my websites to a private server which allowed me to use mod_php 5 along with XCache. However, when I switch from PHP 5 CGI to mod_php, the PHP that is directly in my view files is not being rendered. For example, the title of my page is “”. As in you can see the unprocessed code in the HTML. Any ideas as to why this is happening?
Thanks!
I guess your templates aren't using the .php extension (you probably use .tpl or .phtml), you need to set up the correct handler in apache, so that those files get parsed by the php module.
Something like this should do the trick (only add what is missing in your apache configuration, don't copy paste everything)