RE: [PHP] PHP not working in html
| From: | Mike At Spy | Date: | Thu, 07 Nov 2002 21:35:15 +0000 |
| Subject: | RE: [PHP] PHP not working in html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123245@lists.php.net to get a copy of this message | ||
There isn't any .htaccess file in the directory - I added one with the line
you specified, and my directory comes up with a 'server misconfiguration
error'. Any other ideas? :)
Thanks!
-Mike
>
>
> In your .htaccess file remove anything that looks like this:
> AddHandler server-parsed .html
>
> And add this line:
> AddType application/x-httpd-php .php .htm .html
>
> Do a search for "parse html php" for more help.
>
> -Kevin
>
> ----- Original Message -----
> From: "Mike At Spy" <spycobalt@spyproductions.com>
> To: <php-general@lists.php.net>
> Sent: Thursday, November 07, 2002 2:16 PM
> Subject: [PHP] PHP not working in html
>
>
> >
> > PHP isn't working in my html docs - what changes do I need to
> make to get
> it
> > to do so? Does it need to be recompiled? Can I do it without
> re-compiling?
> >
> > Thanks,
> >
> > -Mike
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>