php page not running on wamp server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dipak durgude
    New Member
    • Apr 2014
    • 1

    php page not running on wamp server

    PHP page not running on wamp server and also the file extension is .php and I had tried with following code
    Code:
    <?php
    echo "testing!";
    ?>
    it shows error that file not found but I had save that file as path is,
    c://wamp/www/test.php


    please help me regarding this..
    Thanks and Regards,
    Dipak.
    Last edited by Rabbit; Apr 16 '14, 03:16 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
  • techboy
    New Member
    • Apr 2014
    • 28

    #2
    Installin WAMP Server to run PHP:
    Goto www.wampserver.com and download WAMP Server.

    Just install it like other softwares by just clicking next next...

    Now go to START menu of windows and start wampserver.
    Generally, the path is Start -> WapmServer -> start WampServer

    Open your web browser and type http://localhost (or http://127.0.0.1 )
    If you see a default WampServer home page, you installation is success.

    Now put your php code in www folder in your wamp installation directory.
    Usually this is C:\wamp\www

    Now type http://localhost/filename.php in your browser. (where filename is your php file name)

    It will execute your php code.. Thats it...

    Comment

    Working...