PHP Tutorial: Installation and The Basics

Sun, Dec 27, 2009

PHP


To get php and apache installed use xampp. xampp is free and contains php / apache (around 33mb) 1. Download and Install XAMPP from here: www.apachefriends.org 2. on windows go to C:\xampp it should have a folder called htdocs. If you put a file called foo.html into the htdocs folder you should be able to access it by going to localhost or /foo.php. There’s also something called WAMP www.wampserver.com There’s a lot of php tutorials out there just search google www.google.com Request …

Incoming search terms for the article:

, , , , , , , ,

25 Responses to “PHP Tutorial: Installation and The Basics”

  1. KnightSama Says:

    I use wamp, I have seen no issues yet.

    Reply

  2. wasitrealy Says:

    Not mine!

    Reply

  3. wasitrealy Says:

    Reminds me of C# its the “;”

    Reply

  4. BrainTweaker93 Says:

    Nice man! Nice example on bushissmart=”false” xD

    Reply

  5. septictesticle Says:

    Wrong, double quotes are meant for strings that contain variables.

    Reply

  6. bas24680 Says:

    you have to end a echo to put a string in it
    like this:

    echo “hello youtube “. $str;

    or

    echo “hello youtube “. $str. “and continue”;

    Reply

  7. TheRuffy94 Says:

    xampp slow yours computers :S

    Reply

  8. weyzer01 Says:

    pretty much every site has it. If you’re on a site with boxes where you fill in any kind of information, php is used. (all sites where you can register or search and so on)

    Reply

  9. lowkey567 Says:

    it was used to create facebook

    Reply

  10. secondincomefast Says:

    PHP membership for your website, very affordable
    phpmember . com

    Reply

  11. locdown120 Says:

    log ins, registration forms and more stuff like that

    Reply

  12. elwoodetubes Says:

    oh thanks, I’ve been in a nuclear bunker for the last 10 years in case of imminent war!

    Reply

  13. yojayy Says:

    Dynamic website development. It’s everywhere.

    Reply

  14. elwoodetubes Says:

    But what is PHP used for? I mean a practicle example?

    Reply

  15. waypastthat Says:

    win.

    Reply

  16. TheDragonfiles Says:

    please answer.

    i got xampp installed in my laptop. and it loads those html and php files.

    but when i tried to make a simple php file using notepad and saved is as document. php and saved it to htdocs then loaded it.
    it displays file not found

    Reply

  17. ColdFire417 Says:

    Haha! You’re hilarious.

    Reply

  18. busybjorn Says:

    1: I personally think XAMPP is for people that don’t want to learn how to set up Apache, PHP and MySQL. It’s really not that difficult.

    2: Short tags are unsupported as of PHP5. That’s a good thing.

    3: Putting variables inside strings does work but isn’t very neat according to many coders.

    Reply

  19. carlsalonga1 Says:

    @Allroundeath

    i believe he was being sarcastic. . i think. .

    Reply

  20. jimmyrcom Says:

    you’re right, my IP is actually 192. 168. 1. 100 , please don’t attack it, I just set my router and firewall on bypass

    Reply

  21. Allroundeath Says:

    @jimmyrcom lol. . . . . .

    THE WORLD WILL EXPLODE IF YOU ATTACK IT!! D; xD idiot. . . 127. 0. 0. 1

    Seriously. . . You’ll attack yourself. . .

    I quote ”127. 0. 0. 1 is the standard IP address used for a loopback network connection.

    This means that if you try to connect to 127. 0. 0. 1, you are immediately looped back to your own machine. ”

    Reply

  22. jimmyrcom Says:

    oh god no, please don’t attack 127. 0. 0. 1 at full force

    Reply

  23. WindowsOS8 Says:

    haha i have your ip address

    Reply

  24. lenghorne Says:

    Just some minor details I would like to know. Can I save the index. php anywhere on the computer and have it opened in the browser. Could someone explain to me please where and how to save the PHP files to see them in the browser

    Reply

  25. 123Toblerone123 Says:

    Perfect Job !!! Thank you very much.

    Reply


Leave a Reply