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.
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
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?
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???
Thanks once again.
I'm gonna try to install Apache, but I have to download it first.
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.
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!
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.
Geez, just download it and install it takes two seconds! Then you can see for yourself.
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.