 |
| Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning PHP 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
|
|
|
|

June 22nd, 2004, 09:49 AM
|
|
Authorized User
|
|
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Apache2
I have installed Apache to test my site but I can't get it to work. I've followed all the steps in the book but I think my problem is my firewall. I am connected to the internet through a router and I have Norton Firewall running. Any ideas? Thanks
|
|

June 23rd, 2004, 02:39 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Turn your proxy settings off, if its a windows machine you r working on, stop IIS if it is running. This should resolve the problem.
Regards
Ankur Verma
.Net and C++ Specialist
Wiley Tech Support
|
|

June 23rd, 2004, 02:18 PM
|
|
Authorized User
|
|
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Where do I turn off IIS?
|
|

June 24th, 2004, 01:45 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Start->Settings->Control Panel->Administrative Tools->Internet Information Services
In the tree right click on
Internet Information Services->YourComputerName(Local Computer)->Web Sites->Default Web Site and select Stop
Ankur Verma
.Net and C++ Specialist
Wiley Tech Support
|
|

June 24th, 2004, 10:11 AM
|
|
Authorized User
|
|
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I checked and I don't have IIS installed at all.
|
|

June 25th, 2004, 08:49 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
|
|
I guess I have explored every other possibility regarding your problem and I think we should go back to where we started. I dont have the same firewall as yours with me but every firewall gives you a log of what it has blocked. try to run apache and see if new entries get added to your firewall's log.
This will give you an idea if your firewall is acutally blocking Apache and if it is, you should be able to use your firewall's options to allow/unblock apache or its services.
You may also consider going through Apache's installation process once again, that helps when nothing else seems to work.
Ankur
|
|

June 25th, 2004, 06:36 PM
|
|
Authorized User
|
|
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I disconnected from the router and disabled my Norton Firewall and managed to get it to work once, but it won't work again. If it is my Norton Firewall that is creating the problems does anyone have a suggestions for fixing it?
|
|

June 28th, 2004, 09:13 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry to come in late on this one, and I may have missed some of the conversation, if it's been shifted in here from somewhere else... but, what response do you get when you ask for:
apache âk restart
At the command line?
Dan
|
|

June 28th, 2004, 10:53 AM
|
|
Authorized User
|
|
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
[error] <os 2>The system cannot find the file specified. : No installed service named "Apache2".
Maybe that will shed some light on things. I also tried
apache -k start
apache -k stop
and got the same message.
|
|

June 29th, 2004, 05:27 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sounds like the service wasn't installed during the installation of the database. ("netstat -a" will also tell you if there's anything already hogging port 80). Is this XP Home edition? If so, that may be the problem. Most of the self-extracting packages are designed with one of the "Server" or "Professional" (aka. "rank amature"?) versions in mind. Try looking in your "Services" tab (which is found under - oh, God, where is it found under? Thinking back to my WierdOS days, I think it was somewhere like Settings > Control Panel > Services, or maybe Progarm Files > Acessories > System Tools > Information, or somewhere like that :).
Anyway, see if Apache is listed and, if not, install the service by cd'ing your way to: "C:\Program Files\Apache Group\Apache2\bin\" (or somewhere very similar) and running:
apache.exe -k install -n "Apache2" (addd a " -D SSL" argument, if your intend to use Secure Sockets Layer).
There's probably a pointy-clicky way of installing the service, too.
Best of luck.
Take it easy,
Dan
|
|
 |