Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing on 98? Can't start server

Status
Not open for further replies.

SSonnier

Technical User
Nov 4, 2003
78
US
Yes, I know 98 is outdated, but I am trying to install Apache on a win 98 machine so I can do some testing with php. It's a laptop.

I've installed but when I try to start Apache, the console box does not remain open and so when I try to test the installation( I get a "page not found error}".

I have personal websever on this machine also. When I leave that service runnning, I get the IIS page at If I stop the service and rename the inetpub directory, I get a page not found error.

Any ideas what I might be doing wrong here.???

Thanks!!
 
If there are no logs, that means apache has never started. From what I can remember about Windows installations is that it can operate in two different modes. Either in a window or as a service. To run as a service, apache needs to be installed as a service. This is not the same as the software install. If apache's "/bin" directory is not in your path, you will need to change to that directory. Then issue the following command:

apache -k install

This will install the service as "Apache2". If you want another name use the -n option:

apache -k install -n WebServer

This will install the servise as "WebServer".

To start, stop or restart apache, you just issue a command like on of the following:

apache -k start
apache -k stop
apache -k restart

That should do it. Be sure to shut down PWS so apache can bind to port 80.



 
ArkM's right, there are no services on Windows 98. There are some good step-by step instructions at where it explicitly states "Apache may also run on Windows 95 and 98, but these have not been tested".

I'd say that if SSonnier wants to do some testing with Apache and PHP on that laptop, he might be better off installing a Linux distro.

Wishdiak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top