logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Installed php 5.1.6 and apache 2.2.3 problems apache monitor
Author
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Mon 18 Sep '06 21:20    Post subject: Installed php 5.1.6 and apache 2.2.3 problems apache monitor Reply with quote

I installed php and apache using the very nice guide at http://www.apachelounge.com/viewtopic.php?t=570

basicly I did everything they said, and I can run apache by starting httpd. The problem is I can't run apache from apache monitor or as a service, when I access localhost, or localhost/phpinfo.php a php file I created, they don't load. But it all works when I run httpd, this is a minor inconvenience but I'm wondering if theres a simple solution?

Thank you for replies.[/url]
Back to top
CanUuRead



Joined: 18 Sep 2006
Posts: 38

PostPosted: Mon 18 Sep '06 22:28    Post subject: Reply with quote

Quote:
basicly I did everything they said, and I can run apache by starting httpd. The problem is I can't run apache from apache monitor or as a service, when I access localhost, or localhost/phpinfo.php a php file I created, they don't load


"Basically I did everything they said", are you saying that you deviated from the instructions? Other than paths...if you adjusted paths did you make the corresponding adjustments in the configuration or INI files?

What do you mean by 'they don't load'? Are you saying that an error dialog box pops up and then Apache doesn't start?

When you type in services.msc from Start : Run, is Apache2 listed as one of the services?

If the Apache2 service will not start, have you looked at or earlier seen errors listed in the Event Log that relate to Apache or HTTPD?

As for Apache Monitor, if you doulbe click on ApacheMonitor.exe does an icon appear in the SysTray? It should appear there (red feather with red square inside a circle, if not running; has green triangle if the service is running). If you left-click (one click) on the feather, it should display a menu with item Apache2, when you move the cursor over it should display a sub-menu with Start, Stop, and Restart.
Back to top
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Mon 18 Sep '06 23:58    Post subject: Reply with quote

Hello, Thanks for the reply!

I did every step exactly as discribed. The apache2 service seems to start but it doesn't function properly, so I tried to unstall and reinstall the service, and I got this message:

Installing the Apache2 service
The Apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started

So I looked in the log files, the most notable message we're these, and there was a lot of them:

[Mon Sep 18 06:11:22 2006] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 2636: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

I do have a firewall but nothing regarding apache is blocked. And if something communicates with the internet it promts me with a allow deny dialog box, and no where after the httpd -k install command did it prompt me to access the internet.
Back to top
xad001x0w



Joined: 18 Sep 2006
Posts: 8
Location: UK

PostPosted: Tue 19 Sep '06 0:26    Post subject: Reply with quote

have you tried using the Win32DisableAcceptEx directive?
Back to top
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Tue 19 Sep '06 2:00    Post subject: Reply with quote

hi xad001x0w,

no, I don't know how to do that, is it something I set in the httpd.conf file?

Thanks for the reply.
Back to top
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Tue 19 Sep '06 11:36    Post subject: Reply with quote

oh btw I found out I made a mistake in one of my original posts, it turns out that when the command line said 'Errors reported here must be corrected before service can be started' that it didn't give any log messages, I'm going to try to start the service now that I reinstalled it and see if I still get problems and if those cause log messages.

Thanks again.
Back to top
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Tue 19 Sep '06 11:40    Post subject: Reply with quote

Hello again! Smile

[Tue Sep 19 05:37:56 2006] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 6556: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

Turns out this is the error I see all over the place in the log file when I try to access the site, so that seems to be pretty informative, I think I'll research a little more about the Win32DisableAcceptEx, I tried to get info on it and had trouble but I'll look a little more now.

Thanks.
Back to top
chris



Joined: 18 Sep 2006
Posts: 10

PostPosted: Tue 19 Sep '06 11:43    Post subject: Reply with quote

Hey I think I fixed it!

I did what you guys said and placed Win32DisableAcceptEx at the bottom of httpd.conf and it works!!

Thanks for all the help!
Back to top


Reply to topic   Topic: Installed php 5.1.6 and apache 2.2.3 problems apache monitor View previous topic :: View next topic
Post new topic   Forum Index -> Apache