Re: NT4+PHP4+Apache2: xxx.php works fine, but not in xxx.html
| From: | Daniel Exbrayat | Date: | Fri, 14 Jun 2002 21:58:40 +0000 |
| Subject: | Re: NT4+PHP4+Apache2: xxx.php works fine, but not in xxx.html | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7335@lists.php.net to get a copy of this message | ||
thanks for your tip, but not successful !
"Jeffrey N Dyke" <Jeffrey_N_Dyke@Keane.com> a écrit dans le message news:
OF93BDC392.99F1BFB9-ON85256BD8.006EF1FC@keane.com...
>
> isn't that because you only have .php in the AddType line. I think you'd
> need .html or what ever pages you want the engine to act upon
>
> Just a thought,
> Jeff
> "Daniel
> Exbrayat" To:
php-install@lists.php.net
> <daniel.exbrayat cc:
> @fnac.net> Subject: [PHP-INST]
NT4+PHP4+Apache2: xxx.php works fine, but not in
> xxx.html
> 06/14/2002 05:12
> PM
>
>
> windows NT4+SP6+PHP 4.2.1+Apache 2.0.36
>
> httpd.conf is as follow:
> ===============================
> #LoadModule php4_module c:/PHP/sapi/php4apache.dll
> LoadModule php4_module c:/PHP/sapi/php4apache2.dll
> #AddModule mod_php4.c
>
> AddType application/x-httpd-php .php
> ===============================
> I discarded AddModule otherwise Apache service do not start
>
> Apache works fine
> <? phpinfo(); ?> is interpreyed by PHP at
> http://localhost/test.php
> but it is not intrepreted by PHP when embedded in test.hml file (I get a
> blank page).
>
> Best regards
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>