1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can I run PHP script on my local computer.

Discussion in 'Apache' started by rakesh.gupta1974, Mar 23, 2009.

  1. #1
    Please some one tell me that How can I run PHP on my local computer. As we install IIS to run ASP on local computer. What should I install for PHP. If it needs apache server then please tell me from where I can get it for free and will it work on windows operating system.
     
    rakesh.gupta1974, Mar 23, 2009 IP
  2. jimminy64

    jimminy64 Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
  3. ru ru

    ru ru Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can just use the IIS. Though it's more comfortable to install XAMPP.
    Don't forget to change the port.
    Eg.
    localhost:80 ---> IIS
    localhost:8080 ---> XAMPP (Apache)
     
    ru ru, Mar 23, 2009 IP
  4. buldozerceto

    buldozerceto Active Member

    Messages:
    1,137
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
  5. jancat

    jancat Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can try easyphp.
     
    jancat, Mar 24, 2009 IP
  6. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #6
    PHP can be run in several ways.

    If you have IIS installed, then download the PHP setup and install. Once installed, you need to web share the folder where the PHP script is residing. Use http://localhost/--foldername/script.php

    OR Install WAMPSERVER, (it is provided free to download, just google it, you will get download link)
    Place you script in c:\wamp\www\somefoldername\script.php
    start the wamp server and browse http://localhost/somefoldername/script.php
     
    MayurGondaliya, Mar 25, 2009 IP
  7. mahesh99

    mahesh99 Banned

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Personally I recommend you to use XAMPP
    Its very very easy to use
     
    mahesh99, Mar 26, 2009 IP
  8. heyman12

    heyman12 Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    WAMP server is a great piece of software for a development machine, I highly recommend it. Be sure to have not start up when Windows starts, you can always turn it on manually when you need it.
     
    heyman12, Mar 26, 2009 IP
  9. daisy55555

    daisy55555 Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    hi

    If you need help then you can contact me at :neer4s(at)gmail(dot)com
     
    daisy55555, Mar 26, 2009 IP