php parse error after installation

From: Date: Sat, 08 Sep 2012 07:42:26 +0000
Subject: php parse error after installation
Groups: php.install 
Request: Send a blank email to php-install+get-20183@lists.php.net to get a copy of this message
Hi there, I have exhausted all methods I can find to fix this problem ,which is from the following php code from php 5 for dummies book, which I doubled checked as well from their website, <html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <?php echo "<p>This is a PHP line</p>"; phpinfo(); ?> </body> </html> When I use ms explorer 9 to run this file on my server 2008r2 I get the following error, Php parse error syntax error, unexpected '>' in c:\inetpub\wwwroot\test.php on line 6. I am using ver 5.3 php I have double checked both the php.ini file to make sure that the following are in there and not blocked by semicolons Fastcgi.impersonate=1 Fastcgi.logging =0 Cgi.fix_pathinfo=1 Cgi.force_redirect=0 Also I have double checked the iis7 add module mapping as is suggested in faq on php site with still no joy very frustrating, any help would be greatly appreciated. Thanks Regards kevin

« previous php.install (#20183) next »