How to execute a PHP program?

Discussion in 'Members Corner' started by Vikramaditya, Feb 25, 2011.

  1. Vikramaditya

    Vikramaditya Regular Member

    Joined:
    Jul 21, 2009
    Messages:
    596
    Likes Received:
    76
    Location:
    Bangalore, India, India
    Any one know how to rum a Php program, I have downloaded apache tomcat, notebook ++ and PHP 5.
    I forgot how to use apache to execute php.any one any idea how to execute php Code...please help me..yarr..:namaste:
     
  2.  
  3. LurkerBaba

    LurkerBaba Staff Administrator

    Joined:
    Jul 2, 2010
    Messages:
    6,769
    Likes Received:
    3,678
    Location:
    India
    You need to run a server, try WAMP http://www.wampserver.com/en/. WAMP=Windows, Apache, MySQL and PHP (something like LAMP).

    Once installed, put your code in the www folder, then point your browser to localhost/yourcode.php (yourcode.php= code you pasted in www directory)
     

Share This Page