Thread: Zend Framework
View Single Post
Old 03-20-2009, 07:48 PM   #9 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
index.phtml
php Code:
<h1 align="center">
    Hello, Zend Framework MVC!
</h1>

<?= $this->text ?>

And I've also tried it without the shorttags, thinking that was the problem, but didn't work with regular php echo style either..
Ok, I was just going to say, it could be the short tags.

I know that PHP6 is discontinuing the short tags, I'm not sure if PHP5 supports it or not....

Anyways, can you create a simple test file and see if the PHP works?

Create a file called: test.php

And in it just type this:


Code:
<?php

$test = 'test';

echo $test;

?>
Let me know what you get...what we want to do is forget about the Zend framework. We need to see if Apache itself is configured correctly for PHP..
allworknoplay is offline  
Reply With Quote