Sry if I'm sounding real dumb now :/

I removed the # like you said and I also removed the .html extension that I
did... But it still didn't help :( I tried going into the error log thingy
and found it empty but on the access I noticed this:

"GET /phpinfo.php HTTP/1.1" 200 33

Shouldn't it be like SHOW instead of GET or something?

*Confused*
----- Original Message -----
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 1:13 AM
Subject: [PHP-WIN] Re: Real dumb newbie question...


> Lines that start with a # have been commented out so the Apache will just
> ignore these.
> The lines which start with AddType need to be added but so you can just
> delete the # from the start of the lines below ehere it says "For PHP
4.x".
> Any of the extensions in the list at the end of the line will be
recognised
> as PHP files. As you can see, all .html files will be processed by the PHP
> application as well. Although this will work, you might like to delete
.html
> from the list and let apache handle these.
> You can also add extensions to that list and any file ending in that will
be
> processed as if it was a PHP file e.g. you could add .eeek and all files
> that end in .eeek would be processed by PHP!
> I think that you may have to add another line to the configuration file as
> well to tell it to use c:\php\php.exe for PHP files. This should be
> mentioned in the install.txt if you do (I used the server module thing,
not
> the CGI program).
> If this line isnt added to httpd.conf, I think you can add a line at the
> start of every PHP file to tell it what program to use. Its something like
> #!c:/php/php.exe (as you do in perl scripts) but look it up somewhere
> because I'm not sure.
>
> Hope this helps a bit!
>
> "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Its nothing to do with the browser, you need to tell Apache that .php
> files
> > need to be sent to a browser and are not downloaded.
> > By default, Apache handles .htm and .html files but you need to tell it
to
> > send .php files to the PHP program. Apache then sends the output from
PHP
> to
> > the browser window as it would with a normal web page.
> >
> > There is a section in the install.txt file which tells you how to change
> the
> > apache/conf/httpd.conf file
> >
> >
> > "Vivoant" <[EMAIL PROTECTED]> wrote in message
> > 003901c18dda$c3d2bec0$5bc3e60c@VivoAnt">news:003901c18dda$c3d2bec0$5bc3e60c@VivoAnt...
> > I'm totally new to this PHP thing... (and apache...) so I tried doing
one
> of
> > those tutoral thingies... I stuck stuck on some problem that is like
this:
> >
> > I try to access the page on my own server (phpinfo.php) and for some
> reason
> > instead of loading it on IE6.0 it tries to download it from my own
> > harddrive... How do I prevent this? (It worked just fine before...) I
can
> > still load PHP pages from other sites on the net except the one I
made...
> I
> > tried deleting it and making a new PHP page but it still does the same
> > thing... Any help is appreciated :)))
> >
> > (I'm on MSN Messenger too... [EMAIL PROTECTED])
> >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to