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.

Running PHP in my PC in Local host ?

Discussion in 'PHP' started by letsjoy, Jan 13, 2007.

  1. #1
    Hi,


    I want to Run PHP on my PC like I run ASP on localhost.


    any software ?

    or anything


    Thanks in advance

    Letsjoy
     
    letsjoy, Jan 13, 2007 IP
    YIAM likes this.
  2. bilalinamdar

    bilalinamdar Well-Known Member

    Messages:
    604
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Try XAMPP
    search google... It have everything...
     
    bilalinamdar, Jan 13, 2007 IP
    letsjoy likes this.
  3. letsjoy

    letsjoy Well-Known Member

    Messages:
    1,166
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    160
    #3
    ok lets try it..Is there any other software for that work
     
    letsjoy, Jan 13, 2007 IP
  4. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #4
    YIAM, Jan 13, 2007 IP
    letsjoy likes this.
  5. 3l3ctr1c

    3l3ctr1c Peon

    Messages:
    380
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    XAmpp - just install it and it gets Apache + PHP + MySQL all in without any efforts.

    http://www.apachefriends.org/en/xampp.html
    Code (markup):
     
    3l3ctr1c, Jan 13, 2007 IP
    letsjoy likes this.
  6. joesgraphics

    joesgraphics Peon

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    try apache2triad.net is good and easy to install.
     
    joesgraphics, Jan 13, 2007 IP
    letsjoy likes this.
  7. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #7
    Download Apache (self install).

    Download PHP (self install also).

    Then download MYSQL (which is also self install).

    Peace,
     
    Barti1987, Jan 13, 2007 IP
    letsjoy likes this.
  8. The Reckoning

    The Reckoning Peon

    Messages:
    862
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #8
    azizny, doesn't always work for everyone. Plenty of things needed to configured.
    What I've always found easy was, install Apache 1.3.37 (yeah, we're like that), then I would download the "no install" version of PHP. Make a new directory in my local drive (C:\) called PHP, and extract it there. Then I'd rename php.ini-recommended to php.ini. Then I follow the instructions inside C:\PHP\Install.txt for "Apache 1.x on Windows". After that's all situated, I would use the "no install" version of MySQL, and I would start it by going to Start -> Run, and type in "C:\MySQL\bin\mysqld" (I put MySQL in C:\MySQL)
    Also, when installing apache, change any part that says "localhost" to "phphost" or something that you can relate to PHP, because it will get mixed with IIS, and cause conflicts.
     
    The Reckoning, Jan 13, 2007 IP
  9. digital_sc4rz

    digital_sc4rz Guest

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I've used this myself and love this package, Also very easy to install and setup;)
     
    digital_sc4rz, Jan 13, 2007 IP
  10. smatts9

    smatts9 Active Member

    Messages:
    1,089
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    88
    #10
    I agree with using XAMPP, best in my opinion.
     
    smatts9, Jan 13, 2007 IP
  11. bilalinamdar

    bilalinamdar Well-Known Member

    Messages:
    604
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #11
    I use XAMPP DAILY..
    u know the main things and advantages are
    U will get a Good control panel..
    Easy to configure.
    SSL support (That's right)
    PHP
    MYSQL
    EMAIL

    now do u need anything else the list will go on.
    And Better of all IT IS SO EASY TO INSTALL. if u need further help then post here i will help..
    help like config, pass other related issue.
     
    bilalinamdar, Jan 13, 2007 IP
  12. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi,
    I just downloaded Apache, PHP and Mysql and installed them. Its just a matter of adding 3 lines to httpd.conf to add PHP to Apache. And removing some semicolons from a few lines in php.ini. Oh yea,you also have to add the php directory to PATH for some extensions to work.

    :)

    ~
    Thomas
     
    coderlinks, Jan 14, 2007 IP
    letsjoy likes this.
  13. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #13
    Try EasyPHP, I have been using it without any complain :)

    Cheers.
     
    bnts, Jan 14, 2007 IP
    letsjoy likes this.
  14. bilalinamdar

    bilalinamdar Well-Known Member

    Messages:
    604
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #14
    I do not thing all can do that.. People willl not do that..
    Actually the Problem is u will have to get all things from different sites
    Xampp include every thing u will ever need in one pacakage...
    I am sorry but i am not promoting the Product My Sole Intention is to Provide the Info on a SImple and best Product..
    There are many like this.. Like the PHPEasy..
     
    bilalinamdar, Jan 14, 2007 IP
  15. pangea

    pangea Guest

    Messages:
    557
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I have 2 PCs - one of which I run XAMPP on. it took me a while to install cos I didnt really know what I was doing, but there are instructions. It took me a while to figure out I had to restart the PC after install for the service to start automatically :D


    ...btw it is great - especially all the software that comes ready installed
     
    pangea, Jan 14, 2007 IP
  16. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #16
    Not the easiest option but it might work if you are lucky enough not to spend hours on setting that up :)

    I used to have EasyPHP installed but it would let me down from time to time and I found XAMPP while looking for other options. Turned to be the best out there. One single problem I've been facing with is the control panel. I only use it to start the services and then shut down from the Task Manager. Otherwise you will notice that your computer resources will get eaten while the XAMPP control panel keeps calling pv.exe every second. Doesn't happen all the time but when it does, it does good. So just kill the control panel process once Apache and MySQL are up, and you should be good to go.

    Their LITE version doesn't even need installing. All you have to do is unpack, open the /xampp directory and run setup_xampp.bat once to have the config settings sorted. That's it, and no restart was needed when I first installed xampp..
     
    Clive, Jan 15, 2007 IP
  17. letsjoy

    letsjoy Well-Known Member

    Messages:
    1,166
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    160
    #17
    yes I am using XAMPP...but not lite version..its little hard for me to learn it like creating mysql db etc...is there any tutorail for using it or like that
     
    letsjoy, Jan 15, 2007 IP
  18. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #18
    Lite means you do not have to run an installer. Fewer options available but the most important are there still! Besides, you can move your "server" from one computer to another easily.

    Databases can be added via http:// localhost/phpmyadmin tool, no hassle..
     
    Clive, Jan 15, 2007 IP
  19. sukantab

    sukantab Well-Known Member

    Messages:
    2,075
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    110
    #19
    I am also using XAMPP in my laptop.
    Tried using self installs of php/mysql/apache - seemed at that time latest version of php had some issues with latest apache. I fixed it with an available patch, but later went for XAMPP - easy to go...
     
    sukantab, Jan 16, 2007 IP
  20. letsjoy

    letsjoy Well-Known Member

    Messages:
    1,166
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    160
    #20
    Thanks I am using it :)
     
    letsjoy, Jan 17, 2007 IP