Re: simple config. question
| From: | Shane McBride | Date: | Mon, 05 Feb 2001 19:14:17 +0000 |
| Subject: | Re: simple config. question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38298@lists.php.net to get a copy of this message | ||
Unless I am mistaken, I am pretty sure you need to have sometype of .php
extension. Unless you could put a line in the httpd.conf file like:
AddType application/x-httpd-php .html
BUT, I HAVE NEVER DONE THIS SO PLEASE WAIT FOR A MORE EDUCATED
ANSWER.........
- Shane
----- Original Message -----
From: "Don" <don@lclcan.com>
To: <php-general@lists.php.net>
Sent: Monday, February 05, 2001 2:03 PM
Subject: [PHP] simple config. question
> Hi,
>
> I'm a newbie with PHP and have successfully written some simple
> scripts. I am using Apache on Redhat Linux 6.2 with PHP 3.
>
> At the moment, I have to give .php3 extensions ot my web files in order
> for PHP to run. If I insert PHP code into an .html file, it does not
> execute.
>
> Is their a way to configure PHP to execute from .html files?
>
> P.S. As I write this, I don't discount the possibility of this being an
>
> Apache config. If so, I apologize for posting to this list.
>
> Thanks,
> Don
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net