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 |
- Follow-Ups:
- Re: php parse error after installation
- From: Daniel Brown
- Re: php parse error after installation
- Prev by Date: make test fails on 5.4.6 with old bugs
- Next by Date: Re: php parse error after installation
- Previous by thread: make test fails on 5.4.6 with old bugs
- Next by thread: Re: php parse error after installation
- Index(es):