Re: Perplexed - wont parse <?php ?> tags in htm
| From: | Michael W. | Date: | Tue, 28 Jun 2005 14:22:14 +0000 |
| Subject: | Re: Perplexed - wont parse <?php ?> tags in htm | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16388@lists.php.net to get a copy of this message | ||
Did you tell Apache to parse .php files as PHP? (By adding something like "AddType application/x-httpd-php .php" (without the quotes) to httpd.conf)
Fred wrote:
Apache 2.0.49 (Win32) PHP/5.0.5-dev - XPSP2 New to PHP. I have done everything I think I need to do to get PHP5 working. I can link to and execute file.php scripts just fine, but scripts imbedded with <?php ... ?> in html files are not parsed/executed. I must have missed something really simple - but I can't find it. Any ideas? TIA Fred.