Author |
|
simitar
Joined: 14 Mar 2011 Posts: 10
|
Posted: Mon 14 Mar '11 20:05 Post subject: My first Apache installation |
|
|
Hi all,
my first post here. Was searching a community on Apache stuff, now I found it.
Have installed Apache 2.2.17 on my windows x64 but cant get positive result in browser by typing http://localhost / 127.0.0.1 on port 80 or 8080, etc. Server is running, just can't get connected.
Can't find out where the problem is.
Some idea from anyone ?
Than you |
|
Back to top |
|
ServBirm
Joined: 15 Mar 2011 Posts: 4
|
Posted: Tue 15 Mar '11 10:55 Post subject: |
|
|
Daft question but have you started Apache? If so, have you checked the log files. Being a new installation there should be very little in the log files and the problem should be easily identifiable. |
|
Back to top |
|
simitar
Joined: 14 Mar 2011 Posts: 10
|
Posted: Tue 15 Mar '11 22:18 Post subject: |
|
|
Thanks for posting.
Sorry but I'm new to web server, so go easy
Yes I have started it but no way to get connected (no more read on). Meantime I have searched on this forum for an answer to this and faced on another alternative for installing a 64 bit version?! of apache found on www.blackdot.de.
Because the installation of apache server downloaded from www.apache.org has taken 1,5 GB from ram and put my PC almost to halt, I have installed apache from www.blackdot.be which took only 5 mb in ram. What a difference!
After that, I have only set up my httpd.conf to run the server flawlessly. The connection issue is thus solved.
Nevertheless, I would appreciate your feedback in terms of integration of other software like php, phpMyAdmin, and MySQL, as to how are they installed altogether with the apache server to become a complete local web server.
Under which folder(s) are they installed?
Thank you! |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 16 Mar '11 1:35 Post subject: |
|
|
There is also a 64bit version on apachehaus.com
Did you start apache? By double click or via command line?
Well the things like phpmyadmin you have to install yourself. e.g. download it and put them into htdocs folder. Also you have to install PHP to make it working. |
|
Back to top |
|
simitar
Joined: 14 Mar 2011 Posts: 10
|
Posted: Wed 16 Mar '11 2:14 Post subject: |
|
|
Thank you for the tip. Sure I will take a look at this alternative. But actually starting apache is not an issue anymore. For now I'm using apache from www.blackdot.be and my earlier problem was focused on configuring httpd.conf.
Weird was the memory alocation for the apaches, one with 1,5 GB and the other with 5 MB. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Thu 17 Mar '11 1:36 Post subject: |
|
|
Well it is correct that there are two processes. One is the parent process and the other one is the child process which servs the requests. I wonder why it is 1.5 GB memory usage. Do you serv such a lot of requests? |
|
Back to top |
|
simitar
Joined: 14 Mar 2011 Posts: 10
|
Posted: Thu 17 Mar '11 12:49 Post subject: |
|
|
I took a snapshot of the usage of my memory after running apache64 from www.blackdot.be. I think this is the normal amount of memory.
After trying with other apache packages, each of them shows me the following error as seen here (http://www.easyphp.org/forums/40/148...t_connections_) with the following memory allocation.
- Apache from www.apache.org (goes looping by eating up memory ~1.5 GB)
- Apache from XAMPP (goes looping by eating up memory ~1.5 GB)
- Zend Community Edition (goes looping by eating up memory ~1.5 GB)
- EasyPHP (goes looping by eating up memory ~1.5 GB)
- The one from Apachehaus.com has not been tested yet.
- Apache from WAMP (it does not even start) showing:
Quote: | [Wed Mar 16 19:29:25 2011] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? |
The only one that works is the Apache compiled from www.blackdot.be. It just occupies around 5 MB in memory. Runs fast and smooth. No errors.
But just the server can be run, because the other softwares as php, phpMyAdmin, etc, have to be installed/setup/integrated by hand and I don't know how to do it. So, it is also practically useless, incomplete.
Why this is the only Apache version that is working for me and the others don't, I can't understand.
Any suggestions?
Note: Just to makes it clear: I wish to run my own server for php script debugging purpose only. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
simitar
Joined: 14 Mar 2011 Posts: 10
|
Posted: Fri 25 Mar '11 21:27 Post subject: |
|
|
Hi James,
I did as you said in your post. Now all server are running, i.e. apache and mysql. The php and phpmyadmin are also running well. However, I stuck on creating database, can't login at all. Already set as root w/wo password, as another login user as well. No way to log into the server.
Could you help me again? What do you need to know from me?
Thank you. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 28 Mar '11 12:04 Post subject: |
|
|
Please start a new topic about the database since it is not related to apache  |
|
Back to top |
|