Jump to content


Photo

Parse error: parse error, unexpected T_STRING


  • Please log in to reply
1 reply to this topic

#1 chaos_ali

chaos_ali
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 20 July 2006 - 06:42 AM

Hi Guys,
          i have finnaly managed to start my apache 2.0x service after configuring PHP5 on windows xp.
But now when test it i get a "Parse Error"

Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\info.php on line 2

Can someone please help me out!!! ..

Fyi--> the test file i created was:
<?php
phpinfo();
?>

Thankx in advance!
Maverick

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 20 July 2006 - 09:06 AM

Strange nothing wrong with that. Make sure you dont have any whitespace before <?php and ?>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users