SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Zealot Ambr0's Avatar
    Join Date
    Apr 2000
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, this is probably yet another stupid question. However, I think this is the best place it could be answered.

    I followed the steps from the PHP manual at php.net to install PHP 4.0 on Windows 98, so I could open a PHP file with my browser from my HDD.

    I succesfully installed it (exactly like the manual said), but when I typed the php file i wanted to see, the browser automaticly opened me php.exe that rendered the code.

    The question is: what do I need to do in order to see the .php file located on my HDD with a browser, and not with php.exe?

    I'll really appreciate your help.
    Soccer Directory | Travel Directory
    (free - reciprocal will give you featured status)

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A web server (Apache, IIS, PWS something to parse the web pages, then you will need to to setup that webserver to work with PHP either by adding an app mapping to the home directoy configuration of the default web site in IIS or by editing the apache httpd.conf file. See the docs at php.net or see Kevin tutorial on sitepoint.com. I would suggest steering clear of PWS for the job since it requires registry entries to get the job done
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    SitePoint Zealot Ambr0's Avatar
    Join Date
    Apr 2000
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    thank you for your feedback.
    I don not have PWS installed. Do I need to install it from my Windows CD?

    If not, does someone else knows how to do this just using the registry?
    Soccer Directory | Travel Directory
    (free - reciprocal will give you featured status)

  4. #4
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like I said you need to have a web server on your computer to parse php pages in a browser, again DO NOT use PWS at all costs, why not just get Apache for windows 98 and use it???
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  5. #5
    SitePoint Zealot Ambr0's Avatar
    Join Date
    Apr 2000
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks once again.
    I'm gonna try to install Apache, but I have to download it first.
    Soccer Directory | Travel Directory
    (free - reciprocal will give you featured status)

  6. #6
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check out http://www.firepages.com.au/phpdev.htm to set up Apache preconfigured with PHP (and MySQL). It's really worth a look.

    There are a few active threads open, you may want to look into them. Besides Apache, you could look into Sambar, which I've heard is pretty good.

  7. #7
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just installed Sambar http://www.sambar.com on my win98 machine I am also running apache Sambar is really easy to setup for php it has a nice GUI interface, and for of you like me who are interested in learning JSP it has built in support, worth a check!
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  8. #8
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What kind of GUI does it have? Could I see some screenshots please?

    I'd like to know how it looks before I barge in to another server program...and I can't find any screenshots on sambar.com.

  9. #9
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Geez, just download it and install it takes two seconds! Then you can see for yourself.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  10. #10
    SitePoint Addict
    Join Date
    Nov 2000
    Location
    London, UK
    Posts
    223
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a note: Firepages now has a version 2 which is way better more stable I've got it installed on Win98 and hasn't crashed yet (except for when I use Internet Explorer obviously, because Microsoft tries to kill it off. Open-source, ewww )
    But David: Next time, you might wanna try the server support forum. You'll probably get a bigger response there.

    ... what's the world coming to?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •