Re: Windows install that is bugging me...
| From: | Chris Hewitt | Date: | Tue, 07 Jan 2003 11:59:32 +0000 |
| Subject: | Re: Windows install that is bugging me... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9603@lists.php.net to get a copy of this message | ||
Scott De Leeuw wrote:
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? Its probably that you have not asked IIS to send ".html" files to the php parser. I expect it would not do so normally because of the extra processing overhead in parsing for php when there would not normally be php code in them.Either alter your IIS setup (I use Apache so I can't give specific instructions), or give the ".html" files you want parsed by php the ".php" extension. Hope this h elps Chris