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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to start Apache!

Status
Not open for further replies.

kosie79

ISP
Jan 16, 2004
4
MY
I intend to develop a web database application. I have my sql installed. planning to use it with PHP.

I dun have an external server, etc. so I intend to install apache and run it locally.

When installing, it requested for a domain and a domain name as well as a admin email add? do i need a valid domain as in one i have paid for or stuff or can i create a dummy?

I have installed, the task bar has the icon saying running all apache services, but i cant seem the get thru the as indicated in the httpd://apache site..
 
No you can't just put any name in there for server name because it won't resolve to your ip. In the case where you are just running on a local machine, the ServerName should be localhost. If you are using it on a local network, then the servername can the hostname (machine name). To access the webserver from your network, the user would type the server's hostname or ip. By default, apache will listen for all addresses on port 80.
 
Thanks..

But would need more info..stil a lil blur...

what should i put in for the following during installation if im running it on my local machine:

Network domain:
Server name:
admin address:

and do i run service for all users or run manually when started...
 
ServerName will be as I stated earlier. Network Domain can be left blank and admin address can be anything it is only used when the server sends an error page so the would be visitor knows who to complain to. If you only plan to fire up apache once in a while, I'd just start it in a terminal window. If you install it as a service, you can still start, stop or restart it any time you wish.
 
TQ:) ive got it running now...

now there is another small problem...

i need to run php on it..i think i have made the necessary changes in the conf file, but i can run php on apache...html works fine.any idea??

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top