03-21-2009, 07:31 AM
|
#17 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Find this line:
Code:
short_open_tag = Off
in your php.ini file, and change it to "On", then restart apache. That should do it.
PS: it was not required that you added the .phtml extension to the .htaccess file as the views (templates) are internally parsed by Zend (the template contents are evaluated by PHP, not directly accessed via the web browser). Also, you should use:
PHP Code:
<?php echo 'stuff'; ?>
instead of the short form, so that you will not have problems when going live with the project. If it's a test project it's ok, but you might get very angry if the server you're going to move the project to doesn't have short_open_tag on (and that is quite usual).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|