Indstalling PHP

Discussion in 'PHP' started by Dolin, Dec 3, 2007.

  1. #1
    Hi how do I install Php in easy steps. I have downloaded windows binaries for php5 and extracted the files. What are the next steps?
     
    Dolin, Dec 3, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Dec 3, 2007 IP
  3. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm looking for a one click way to install php. After I read the manual, all I get is more downloads and install. And they didn't specify where to download them. I'm running Windows XP Pro. What do I need to download in order to have php running on my computer?
     
    Dolin, Dec 3, 2007 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    nico_swd, Dec 3, 2007 IP
  5. Brewster

    Brewster Active Member

    Messages:
    489
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Brewster, Dec 3, 2007 IP
  6. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Do they make installing php so difficult? There are so many new terms. I don't even know what apache is. What even is binary?
     
    Dolin, Dec 3, 2007 IP
  7. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #7
    Apache.

    I think you might need to take a few steps back and do some reading before you try installing PHP in your own computer. In my opinion, XAMPP is by far the easiest way to install everything (Apache, PHP, MySQL etc) with a few clicks, it's far from difficult - but you might need to slow down and rtfm. :)
     
    Kerosene, Dec 3, 2007 IP
  8. Antoledo

    Antoledo Active Member

    Messages:
    321
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #8
    You can install php with just one click using WAMP ( search for it on google, I can't post the link because I haven't got enough posts ). Or you can use the hard way as nico_swd said 2 posts back.
     
    Antoledo, Dec 3, 2007 IP
  9. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi thanks for all the suggestions. I still think installing php is difficult. The language might be easy.

    I have downloaded windows binaries and apche 2.2.6 and now I read on the web that the installation procedure is different for 2.0 and 2.6. It's driving me crazy.

    Can someone give me a link to a webpage that has all the downloads and the manual in the same page.
     
    Dolin, Dec 3, 2007 IP
  10. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #10
    Kerosene, Dec 3, 2007 IP
  11. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #11
    Yes... just install XAMPP. It's SO easy... and later you don't have to bear with PhpMyAdmin and everything... Installing it is like going through hell.

    With XAMPP you don't have to worry about anything. It installs everything for you.
     
    nico_swd, Dec 3, 2007 IP
  12. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi thanks for the links. There are so many links on the XAMMP page. Which one do I download? Is it the windows 1.6.4 (I don't understand this) installer, zip ore exe?
     
    Dolin, Dec 3, 2007 IP
  13. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
  14. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Hi I have installed xampp installer for windows 1.6.4. What next? My computer still can't open a .php file.
     
    Dolin, Dec 5, 2007 IP
  15. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #15
    Have you read the Apache/PHP documentation?

    Apache needs to be up and running, and you need view your php files from localhost, something like: 127.0.0.1/myphpfile.php
     
    Kerosene, Dec 5, 2007 IP
  16. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Hi thanks. I am able to access my local host. I have learn PHP language and written a file in notepad and saved it as a .php file. How do I open this file? Do I need to upload it to localhost? If so how do I do that?
     
    Dolin, Dec 5, 2007 IP
  17. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #17
    Kerosene, Dec 5, 2007 IP
  18. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Thanks kerosene. I am able to open my .php file in localhost now. I have some further questions, is it possible to open our php files with a program like we open our html files with internet explorer?
     
    Dolin, Dec 6, 2007 IP
  19. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #19
    You can edit a php file in just about any text editor.

    If you mean viewing the output of a a php file, you can use any browser.

    If you mean something else, then I don't understand your question.
     
    Kerosene, Dec 6, 2007 IP
  20. Dolin

    Dolin Banned

    Messages:
    143
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #20
    What I mean is I can open my php file by typing the address localhost/.php. Can I save my php file in my documents and double click it to open the file?
     
    Dolin, Dec 8, 2007 IP