How to install php ?

Discussion in 'PHP' started by sang7g, Jun 19, 2010.

  1. #1
    Hello friends,
    Could anybody tell me the procedure to install php in my system ?
    i've checked in php.net site and then i installed wamp server and php 5.3.2. But eventhough i am not able to execute php files.

    So could you suggest me the ways to install php and also to run php scripts.


    Thank you !!!!!
     
    sang7g, Jun 19, 2010 IP
  2. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #2
    For wampserver, check the following:

    1) WampServer is on. (you can turn it on by clicking on the program in the start menu)
    2) You are using windows. (If you use a mac, get a MAMP server)
    3) The PHP file is in the WampServer www directory.
     
    Cozmic, Jun 19, 2010 IP
  3. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Oops!
    Just install XAMPP
    Its lot more easier ann using XAMPP only! :)
     
    roopajyothi, Jun 19, 2010 IP
  4. lukeg32

    lukeg32 Peon

    Messages:
    645
    Likes Received:
    19
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Install Debian or Ubuntu - job done.

    If you need to add anything after;
    apt-get install [source]
     
    lukeg32, Jun 20, 2010 IP
  5. nwebsphere

    nwebsphere Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you had already installed WampServer successfully , check where "www" directory is created (c:\wamp\www).
    Create a directory inside for your project and put your PHP files in it.
    Click on the link "Localhost" in WampServer menu or open your browser and open the http://localhost address.
    For Reference
    [​IMG]

    Please check whether WampServer is on before running scripts.
     
    nwebsphere, Jun 20, 2010 IP