How to start off with php?

Discussion in 'PHP' started by krisdude, Oct 27, 2008.

  1. #1
    I wanted to learn php. I have found a few good tutorials. I have knowledge about html, css, etc.

    But I don't know what all to install and how to so that I can start typing the code and see the results like in html.

    Most tutorials on the net emphasize on what the software we need to install does and which can be installed. I don't want to know the softwares that can be used to run php.

    Just let me know what softwares you have installed on your pc to run php step by step. It would be great help.
     
    krisdude, Oct 27, 2008 IP
  2. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #2
    To run on php files on your PC (localhost) you basically need these 2 thing : Apache (Web Server) and MySQL (database).

    I'm using XAMPP a webserver package which contains Apache, MYSQL and also PHPMyadmin for you to manage database easier.

    You can download it here : http://www.apachefriends.org/en/xampp.html

    The installation is pretty straightforward as you need to run the .exe file only.
     
    dynashox, Oct 27, 2008 IP
  3. arizona39

    arizona39 Well-Known Member

    Messages:
    622
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #3
    yea xampp is very easy to install

    php is kinda like C++

    variables and stuff
     
    arizona39, Oct 27, 2008 IP
  4. krisdude

    krisdude Well-Known Member

    Messages:
    610
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #4
    I have installed it. Now I have the Xampp control panel after installation. Now where to type the new codes? Is there anything else I need to do?

    Thanks for the help Dynashox :)
     
    krisdude, Oct 27, 2008 IP
  5. rirara

    rirara Active Member

    Messages:
    182
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    If you want to be a developer try to learn to read long, long documentations ;)
     
    rirara, Oct 27, 2008 IP
  6. ceetoe

    ceetoe Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Shouldn't be anything else you have to configure. Next, look for some online PHP tutorials that you can follow along with. All you need is a text editor and with Xampp you can serve up PHP pages to learn.
     
    ceetoe, Oct 27, 2008 IP
  7. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #7
    Nothing else you need to do. To write PHP codes, you need a text editor. You can even use Windows notepad, although it will be difficult for beginner.

    I myself using Adobe Dreamweaver, which I really recommend a lot. It's not free though.
     
    dynashox, Oct 27, 2008 IP
  8. anosmi

    anosmi Active Member

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #8
    just go through sitepoint php books
     
    anosmi, Oct 28, 2008 IP
  9. dmi

    dmi Well-Known Member

    Messages:
    2,705
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #9
    There are many e-books that describe the whole process, from installing the neccessary applications to coding and making your own programs. Use Google and I'm sure you'll find them.
     
    dmi, Oct 28, 2008 IP
  10. geekology

    geekology Well-Known Member

    Messages:
    545
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #10
    I was in the same boat as you some time back.. I wrote a post about it... How to install and learn PHP? hope it will help you.

    Do ping me through my blog..probably we can share knowledge and make our learning curve smooth
     
    geekology, Oct 28, 2008 IP
  11. krisdude

    krisdude Well-Known Member

    Messages:
    610
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #11
    Ya sure...
     
    krisdude, Oct 31, 2008 IP
  12. srikanthpv

    srikanthpv Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    check out youtube for installation of XAMPP and basic tutorials
     
    srikanthpv, Nov 1, 2008 IP
  13. rakha

    rakha Member

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #13
    i will suggest to get dreamweaver if you dont its gonna e very complicated for you.
     
    rakha, Nov 1, 2008 IP
  14. Rory M

    Rory M Peon

    Messages:
    1,020
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Rory M, Nov 1, 2008 IP