how to execute php files in the system?

Discussion in 'PHP' started by raju143, Oct 6, 2010.

  1. #1
    how to execute php files in the system?how any software is there..to execute php files....
     
    raju143, Oct 6, 2010 IP
  2. Sound Link

    Sound Link Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use the CLI binary - if you are a Windows user, you should already have it ( located in the root folder of PHP installation ).
     
    Sound Link, Oct 6, 2010 IP
  3. veroxii

    veroxii Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah, if your php file is called "myprogram.php", you should be able to just run "php myprogram.php" from the command line. (assuming the php executable is in your system path)
     
    veroxii, Oct 6, 2010 IP
  4. ajaygolani

    ajaygolani Peon

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you are talking about local system. Download wamp or xampp and you will be able to run php files easily.
     
    ajaygolani, Oct 6, 2010 IP