Re: <?php not handled by iis or apache

From: Date: Thu, 15 Apr 2004 14:45:27 +0000
Subject: Re: <?php not handled by iis or apache
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-13244@lists.php.net to get a copy of this message
Uwe Thiede wrote:
i've tried differend configurations of php and iis/apache and all of them failed to handle the "xml processor instuctions" inside my html pages. example: <html> <head> <title>PHP-Test</title> <body> Down there must be some PHP-Informations<br><br> <?php
     phpinfo();
?> </body> </html> so the phpinfo() did'nt print out any result. only pages with fooba.php are handled correctly. thanx beforehand for your support uwe Did it just show the source, that is:
<?php phpinfo(); ?> If so, what did you call your file? If foobar.php works then did you give your file a ".php" extension? If not and you want all html files parsed by php you need to tell IIS to parse html files as well as php ones. Unfortunately, I don't use IIS so I cannot give the exact instruction. Hope this helps. Chris PS My 14 year old son has just gone on a trip to Munster with his school.

« previous php.install (#13244) next »