Re: Re: php files not being parsed -
| From: | Goetz Lohmann | Date: | Tue, 04 Feb 2003 17:19:06 +0000 |
| Subject: | Re: Re: php files not being parsed - | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9943@lists.php.net to get a copy of this message | ||
Terry L. Ensley schrieb:
> Yes I am - but still nothing. I can still view the source in the browser
> and see the source code but it is not being parsed.
>
> --
> Terry Ensley
>
>
> "Ryan Williams" <rwilliam@brandeis.edu> wrote in message
>
> news:Pine.LNX.4.44.0302040911450.7180-100000@groucho.unet.brandeis.edu...
>
>>I am assuming your restarting you server after any changes?
>>
>>--
>>Ryan Williams
>>
>>
>>
>>On Tue, 4 Feb 2003, Terry L. Ensley wrote:
>>
>>
>>>I did what you suggested - which is actually the way I first started - I
>>>deleted the action line.
>>>
>>>I do have both of these - in their proper places:
>>>
>>> LoadModule php4_module c:/files/php/sapi/php4apache.
>>>AddModule mod_php4.c
>>>
>>>
>>>And then in the AddType section towards the bottom of the file I have:
>>>
>>>AddType application/x-httpd-php .php
>>>
>>>I copied these lines from my httpd.conf file -
>>>
>>>But still nothing - it has me stumped - Any thoughts?
>>>
>>>
>>>
<snip>
maybe the
AddType application/x-httpd-php .php
is inside of a <Directory> Tag which define this only for that instead in
<IfModule mod_mime.c> ??? maybe you could also put in in a VirtualHost tag
if you using them like:
<VirtualHost 123.123.123.123>
...
AddType text/html .shtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
</VirtualHost>
the AddType defines what should be done with a file like *.php
Did apache echo that it loads the modul corect at start ? something like:
Apache 1.3.xx with mod_php 4.2.xx
???
--
@ Goetz Lohmann, Germany | Web-Developer & Sys-Admin
\/ ------------------------------------------------------
() He's the fellow that people wonder what he does and
|| why the company needs him, until he goes on vacation.