ZF-6079: phtml not being processed by php
Hi! I'm using WAMP server on localhost.
My folder structure looks like this: c:/wamp <- my web root (similar to quick start in the quick guide) c:/wamp/application <- contains models, controllers and views c:/wamp/library <- zend framework c:/wamp/www <- the public folder
So the issue here.. everything works great. I can access controllers and actions by changing the URL, and it will find the correct view-file. The view-files looks great.. except when I start adding PHP content in it. The PHP doesn't get processed by the server for some reason. This is only in the .phtml files, because since the index.php file works, and the bootstrap, and the respectivly controller classes. All of those works with PHP.. except the .phtml files.
The actual PHP content in .phtml files doesn't get printed on the page, however, it's visible in the sourcecode of the page(almost like an HTML comment). In the screenshots I'm providing I'm using shorttags, however, I've tried it with regular PHP tags aswell, and it doesn't work either. I've also tried editing the httpd.conf for apache and adding the application type .phtml for php applications, however the problem still persists.
Is this a bug? Even if it's not a bug in the actual framework - how can I solve it? Thanks in advance!