PHP on my Computer!

This is a discussion on PHP on my Computer! within the Tech Board forums, part of the Community Boards category; I heard that on Linux you can watch PHP. That your pages doesent need to be on Web server to ...

  1. #1
    Registered User xxxrugby's Avatar
    Join Date
    Jan 2005
    Posts
    178

    PHP on my Computer!

    I heard that on Linux you can watch PHP. That your pages doesent need to be on Web server to wach PHP.

    Question is. I am on Windows. How can I watch PHP on my computer.
    I heard that is some apache emulation for download on windows.

    But I dont know where to find. I cant find it. And is this possible!

    Does maybe somebody know best software for that and where can I download it?

    Thanks!

    major_small yes I think on that. On emulation PHP server on my computer. That I can wach make and all else with PHP on my computer.
    I am makeing Web page and I am makeing Guestbook. Already have few scripts. But what I wanna to do is that I can before upload them to Web look how that Guestbook looks and tried it to see does it work all that on my computer.
    Last edited by xxxrugby; 03-14-2005 at 12:55 PM.
    Sorry for spelling errors, not English!
    xxxrugby: "All Human Race Will Die From My Hand!"
    xxxrugby: "We are all philosophers, when question is about politics!"

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    if you mean "how can I serve a PHP page from my windows computer", you need to look into setting up an HTTP server--the only way (that I know of) to view PHP is through a web server or some kind of program that emulates a web server, unless you're viewing the code.

    Windows' webserver is called IIS, but you can install others. for example, I'm running Apache 1.3 on my system right now, so I can server PHP pages to myself and the people on my network.

    http://httpd.apache.org/
    Last edited by major_small; 03-14-2005 at 12:50 PM. Reason: linkage
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    apacahe-mysql-php package, easy install like any other Windows program
    http://www.apachefriends.org/en/xampp-windows.html xampp is just one of them

    Install, start, and you have a webserver running on your computer. Just put your scripts in the appropriate folder. Browse it through your web browser and you can see your script in action
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  4. #4
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Or do it the right way and learn something at the same time. Download Apache, PHP, and MySQL and install them all seperately.

    Either way, you don't need (or more importantly, don't want) an emulater, but you need to have the webserver installed on your computer, and a guestbook will require a database like mysql or text-file manipulation (your choice, but I recommend the DB approach).

  5. #5
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,261
    Ober's right. I managed it, and I'm a retard when it comes to any sort of network software.

    That said, the Perl installation stumped me. Oh well, guess I'll have to get up and go to uni...

    One thing that spooks me about Apache is that they're always biznitching about thread safety under Windows (the reason why some features are absent in this port).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 34
    Last Post: 02-26-2006, 12:16 PM
  2. Major Computer Problem
    By Olidivera in forum Tech Board
    Replies: 10
    Last Post: 07-15-2005, 11:15 AM
  3. Tabbed Windows with MDI?
    By willc0de4food in forum Windows Programming
    Replies: 25
    Last Post: 05-19-2005, 10:58 PM
  4. Computer will not boot.
    By RealityFusion in forum Tech Board
    Replies: 25
    Last Post: 09-10-2004, 04:05 PM
  5. Which distro should I run on my old computer?
    By joshdick in forum Tech Board
    Replies: 5
    Last Post: 04-09-2003, 01:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21