03-23-2009, 05:34 PM
|
#21 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by allworknoplay
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..
|
PHP6 isn't discontinuing short_open_tags, its however been proposed that we remove the asp_tags option, but its not decided yet. short_open_tags have been default to Off in a forever now.
Quote:
Originally Posted by allworknoplay
How is your htaccess configured? Because you're in windows it might be a problem.
I am having issues right now getting mine to work, so I have to backtrack and thoroughly read the instructions...
|
Chances that its an error with the operating system in something as core as this is extremely low and must be a rather misconfiguration.
Quote:
Originally Posted by allworknoplay
Take a look at your apache config and see where it looks for .htaccess.
See, in linux, it's called .htaccess. But with Windows you might have to call it htaccess.txt and then tell your config to look for that instead of the default .htaccess.
Also check your log files and see what the error_log says....
|
No, you need to name it .htaccess on both systems, you just need to save the filename in quotes in an editor or rename it using CMD.
As for the real question, if you are using Zend Framework I would assume that since .phtml isn't set by default for php, and since ZF can be used on shared hosts then internally ZF would use eval() on the code, but I've never worked with ZF so I can't tell so its rather just a theory that the problem lies in a misconfiguration in ZF itself without knowing for sure.
__________________
|
|
|