03-21-2009, 03:48 PM
|
#20 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by xenon
Is the PHP extension even loaded in Apache? You must have a line in your httpd.conf file that says something like this:
Code:
LoadModule php5_module "c:/webserver/bin/php/php5.2.9-1/php5apache2_2.dll"
This is what I have on my Windows box, running WAMP server. PHP will not work if it's not "injected" into the Apache engine first. If it is, then something must be wrong with that dll file (probably corrupt). Check the Apache error log if the line above is present (and, obviously, uncommented) in your httpd.conf file.
PS: I was referring to the httpd.conf file in the post before.
|
I think so..
I found this line in httpd.conf
Code:
LoadModule php5_module "c:/wamp/bin/php/php5.2.6/php5apache2_2.dll"
And the thing is, I don't think that there's something wrong with that, because PHP files works great with PHP. I have numerous other projects on this localhost server(that aren't using Zend Framework) and they work perfectly well.
Also, if PHP didn't work, how come the index file redirects every request to the correct controller?
Ah I see! My bad then 
__________________
|
|
|
|