Results 1 to 2 of 2

Thread: PHP/localhost problem

  1. #1
    Join Date
    Jun 2008
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation PHP/localhost problem

    I am having a problem with my localhost. It is the lamp setup with nothing modified running on Ubuntu Hardy. Html files seem to work fine but when I try to get anything php related to run I get the following error message:

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /var/www/tester.php on line 2

    I can not figure out why this error is occuring as my code appears fine to me. Here is my code:

    Code:
    <?php 
    echo “Hello World”;
    ?>
    I am relatively new to apache and Ubuntu together but I have a decent amount of experience with Windows and apache so if there is any editing to the httdp.conf file that I should do please be precise!

  2. #2
    Join Date
    Jun 2008
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: PHP/localhost problem


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •