Thread: Zend Framework
View Single Post
Old 03-20-2009, 07:36 PM   #5 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by allworknoplay View Post
oh my bad....everytime I think windows, I think IIS...

Ok, so in your apache config called: httpd.conf

You need to add this:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml


so do a search for "AddType application" and you should find the area to add it.

then restart your apache...
Hehe, it's okay!
Thanks for that.

I edited this file:
C:\wamp\bin\apache\apache2.2.8\conf

and added the phtml extension.

This was already there:
Code:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
so I just added this below:
Code:
AddType application/x-httpd-php .phtml
and then restarted.
However, the problem still persists :S
I still can't use PHP in the .phtml files.


Although, I solved the rewrite issue, cause I read your post in the other Zend thread about having to enable it in apache, and I found it, and enabled it, so that part works now!

Only the .phtml issue left to solve
__________________
Tanax is offline  
Reply With Quote