php problem

Discussion in 'PHP' started by harryoxford, Sep 18, 2009.

  1. #1
    Hi, I googled the web and can't find any solution, I expose :

    My php.exe cli file does not parse any file. If I write php.exe phpinfo.php php returns
    <?
    phpinfo();
    ?>

    Although with apache.

    Running Windows Vista Home Premiun on d:\php. path is correctly entered.

    Thanks.
     
    harryoxford, Sep 18, 2009 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    LOL, try changing the first <? to <?php and then it works (99% shure)
     
    EricBruggema, Sep 22, 2009 IP