Find the answer to your Linux question:
Results 1 to 2 of 2
i was write a file php after. <? echo "temp"; ?> i saved file name index.htm. but i can't run it. how can i run it....
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    1

    Thumbs down run php not good.????

    i was write a file php after.
    <?
    echo "temp";
    ?>

    i saved file name index.htm.
    but i can't run it.
    how can i run it.

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    Could a mod move this thread to a more appropriate place?

    Anyhoo

    1. use <?php as your opening tags. Not all servers are configured to
    support <?

    2. Save the file as index.php

    3. Have you got Apache and PHP installed?

    4. Or have you got the cli php installed?
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

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