I run it as a mod like so:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
You add those two lines under your other mods.
Rach
"Lille John" <jander DeleteThis @c2i.net> wrote in message
news:gAjNa.2507$BD3.1478027@juliett.dax.net...
> Hi Cristian thank you for replying to my request, but I dont know where to
> set the Options+ExecCGT ( IMHO) that you sugested. Could you please tell
me?
>
> Johnny
>
> "Christian Sagmueller" <cs DeleteThis @sagmueller.net> wrote in message
> news:slrnbg94hl.l4d.cs@sagmueller.net...
> > In article <lX%Ma.2425$BD3.1467869@juliett.dax.net>, Lille John wrote:
> > > To whom that may have an answere...
> > >
> > > I have just installed Apache2 on my WinXP computer. I have edited the
> > > httpd.conf file and added 'AddType application/x-httpd-php .php'
and
> > > other different extentions same way. I have also altered the
> DocumentRoot to
> > > the path where I have my web-files. When the index file have .html(by
> > > renaming) as an extention it is viewed correctly, otherwise this
message
> is
> > > shown. I alsow have PHP 4.3.2 installed.
> > If you are running PHP as CGI, you have to set 'Options +ExecCGI' (IMHO)
> >
> > mfg
> >
> > c.
> >
> > --
<font color=green> > > Christian Sagmueller | christian DeleteThis @sagmueller.net | <a style='text-decoration: underline;' href="http://sagmueller.net</font" target="_blank">http://sagmueller.net</font</a>>
> > GnuPG: 1A29 DA9C 2B5E B5EF 31FD 65DD 5FDA 4311 EAC9 20FC
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Apache2 - 403 Forbidden