Re: Windows install that is bugging me...
| From: | Scott De Leeuw | Date: | Tue, 07 Jan 2003 15:02:38 +0000 |
| Subject: | Re: Windows install that is bugging me... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9611@lists.php.net to get a copy of this message | ||
Really, it's that easy? I will have to try it when I get home...
Here is a good example, this is my site...
http://12.208.217.144/welcome.php (strict php file)
http://12.208.217.144/body.htm (embedded php)
Notice that the strict php file works, however the htm file with
php embedded in to it does not... From the book I was reading I
understood it could be embedded like javascript is...
I will try changing that setting when I get home....
--- Nuno Lopes <nunoplopes@clix.pt> wrote:
> The problem is that .htm/.html files aren't being parsed.
> Simply open the configuration dialog of IIS (in control panel)
> and then go
> to 'Home directory'. Click in 'configuration' button and click
> in 'Add' and
> then enter .html as extension and C:\php\php.exe as executable
> (or where is
> your php).
>
> Nuno Lopes
>
>
> ----- Original Message -----
> From: "Scott De Leeuw" <dil222@yahoo.com>
> To: <php-install@lists.php.net>
> Sent: Tuesday, January 07, 2003 4:14 AM
> Subject: [PHP-INST] Windows install that is bugging me...
>
>
> > Here are the system specifics..
> > Windows 2000 server SP3
> > PHP 4.30
> > IIS 4 I believe, whatever comes with W2k Server
> >
> > I've installed PHP and set it up as per the instructions...
> Any
> > file with a .php or .phtml extension works, however when I
> embed
> > PHP code in to an HTML it either gives a blank page or simply
> > prints all the text... I am using the standard "<?php" tag...
> I
> > have been messing around with this for a week now and am at a
> > loss... any ideas?
>
>
>
=====
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com