kevin
2012-09-08 07:42:26 UTC
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
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