Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2004, 01:39 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with Apache Install

Help would be appreciated. I am a newbie trying to follow the instructions and getting nowhere.

I'm trying to run Apache on my home computer (Windows 2000).

The version I downloaded into C:\Wrox is: apache_2.0.50-win32-x86-no_ssl.msi

I installed Apache using the Start/Run command:
msiexec /i "C:\Wrox\apache_2.0.50-win32-x86-no_ssl.msi"

I input the following during installation:
Network Domain = terrysr.com (the name of my computer is terrysr)
Server Name = server.terrysr.com
Admin Email = [email protected]
Only for current user, on port 8080, when started manually

Next, I tried to start Apache by using Windows Explorer and double-clicking on C:\Program Files\Apache Group\Apache2\bin\Apache.exe. The result is a blank screen.

Next, I opened MS Internet Explorer and input http://localhost/ but got the "This page cannot be displayed" page.

The Error.txt file says (and I don't know what it means):
Parent: Created child process 1404
Child 1404: Child process is running
Child 1404: Acquired the start mutex
Child 1404: Starting 250 worker threads
Parent: Received shutdown signal -- Shutting down the server
Child 1404: Exit event signaled. Child process is ending
Child 1404: Released the start mutex
Child 1404: All worker threads have exited
Child 1404: Child process is exiting
Parent: Child process exited successfully

Can anyone help me and tell me what's wrong? How do I fix the problem?

I've installed and uninstalled the Apache program 3 different times without any changes in the results.

Terry


 
Old July 11th, 2004, 02:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This isn't my domain, but I think your naming of domain and server might be the cause.
If you don't have a .com, you shouldn't use it. Knowing very little of this I searched the net shortly. Have a look at this page:

http://www.help2go.com/article148.html

or make your own search for the subject 'apache+network-domain' or whatever you could think of.

I think to recall I made the same mistake once I tried an Apache ;)
 
Old July 11th, 2004, 09:29 PM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Birger - Thanks for your input. After reading your comment I decided to uninstall Apache and try again.

Latest update:

My ISP is Comcast Cable (with a cable modem) connected into a D-Link Wireless Broadband Router. The router enables me to share my hi-speed connection with 2 other computers in my house.

I ran the IPCONFIG command at the DOS prompt to find out the IP Address of my router.

This time I installed Apache2 using the IP Address of my D-Link Router for the Domain Name and ServerName.

I addition I selected All Users (Port 80) instead of Current User (Port 8080).

After the new installation, I input "http://localhost/" into my browser and got the Apache "Test Page for Apache Installation" (Success page).

Next, I performed the "Adding PHP to the Equation" directions (page 15) and "Document Root" directions (Page 16-17).

I saved the "index.html" file in the new "test" directory:
c:\Program Files\Apache Group\Apache2\test\index.html

Next, I input "http:/localhost" into my browser and got the "This page cannot be displayed". I did not get the "If this works, we did it!" page.

I do not have the PHP program installed yet. Does the PHP program have to be installed before I run the above test?

I would appreciate help from anyone that has been down this road before. Thanks.

Terry


 
Old July 11th, 2004, 11:02 PM
Authorized User
 
Join Date: Jun 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to redcell184
Default

Well some times u will need to refresh the page. It happened to me a couple of times and i refreshed it and it finally came out. Doing all those things shouldn't really make a difference. It has to do something with your cache. If you look deeper in the forum someone else had the problem. No you don not need to install php for that. Apache already has the ability to parse html coding that extra bit of configuration that you are going to put in will let apache parse php codes.



 
Old July 22nd, 2004, 04:39 AM
Authorized User
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by ftmarkle
 I input the following during installation:
Network Domain = terrysr.com (the name of my computer is terrysr)
Server Name = server.terrysr.com
Admin Email = [email protected]
Only for current user, on port 8080, when started manually

Next, I tried to start Apache by using Windows Explorer and double-clicking on C:\Program Files\Apache Group\Apache2\bin\Apache.exe. The result is a blank screen.

Next, I opened MS Internet Explorer and input http://localhost/ but got the "This page cannot be displayed" page.

The Error.txt file says (and I don't know what it means):
Parent: Created child process 1404
Child 1404: Child process is running
Child 1404: Acquired the start mutex
Child 1404: Starting 250 worker threads
Parent: Received shutdown signal -- Shutting down the server
Child 1404: Exit event signaled. Child process is ending
Child 1404: Released the start mutex
Child 1404: All worker threads have exited
Child 1404: Child process is exiting
Parent: Child process exited successfully

Can anyone help me and tell me what's wrong? How do I fix the problem?

I've installed and uninstalled the Apache program 3 different times without any changes in the results.

Terry
re-installing will not help.

DON'T USE A TLD. You don't have one. When it asks for your domain name, make it "localhost" (remove quotes), NOT TERRYSR.COM.

When you install, install it as a service (all users, not for %user name% only). You can then use 'services' or the control panel (in V2) to start, stop Apache.

Once you do that you should be able to type in "localhost" or "127.0.0.1" and get the Apache page.

Just noticed you are using your router to get to Apache, DON'T!. You really don't want the sytem looking outside the box for it.

Also note that any time you make a config change to Apache (or almost any server type system) you will need to restart the service (or server depending upon the change).





Similar Threads
Thread Thread Starter Forum Replies Last Post
[Php 5 MySQL 5 Apache 2 Win32]Install universalbitmapper PHP Databases 1 February 24th, 2006 04:16 AM
help! Cannot install apache tomcat 5.5.12 batken Apache Tomcat 0 December 23rd, 2005 03:07 AM
install website away from Apache htdocs dir. mikeuk BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 November 24th, 2004 07:25 AM
Having trouble running Apache RonnieGill BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 9 July 22nd, 2004 11:53 AM
PHP/Apache install issue.."blank" browser page dgr72371 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 6 June 15th, 2004 11:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.