Re: Help with php installation on iis
| From: | Chris Hewitt | Date: | Mon, 20 May 2002 18:57:01 +0000 |
| Subject: | Re: Help with php installation on iis | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7050@lists.php.net to get a copy of this message | ||
Ragnar,
I have pasted your script into my /var/www/html directory and I agree that the browser is blank. View Source shows the source. I assume that you have not set httpd.conf to parse ".html" files with php but to assume it is pure html. This is why the output is not seen. I used the filename "test1.html". As soon as I changed the filename to "test1.php" the output is seen as you intended.
Regards
Chris
Ragnar wrote:
I have tested php on apache server and on IIS in XP pro. None of the above have been succesful. The following example does not work, the "Hi, I'm a PHP script" does not appear in the browser: <html> <head> <title>Example</title> </head> <body> <?php echo "Hi, I'm a PHP script!"; ?> </body> </html> There is NO errormessage, but the browser remains blank. Im using iis 5.1 and the latest php installation program. Anyone know what the problem is?