Apache Windows Install
Running IIS and Apache on the same server
Submitted by chris on January 19, 2006 - 14:50. Apache Featured | Apache Install | IIS Configuration | IIS Featured
You can not have two services offered on the same ip and port numbers.
On the same server, different services (IIS and Apache) need a unique IP/Port
combination.
1) IIS might be binding to all ips on port 80. This has been the standard behavior of IIS since many years. So to run Apache with IIS, you first need to make sure IIS does not bind (i.e. listen) on all ips. The following article will help you disable IIS 6 from automatically binding to all ips on the Windows 2003 Server.
Before IIS6 (i.e IIS5), you simply had to set the metabase property "DisableSocketPooling"
to true (and that was it).
For details on doing this see: Disable socket
pooling on IIS5
Manual upgrade of Apache 2
Submitted by chris on September 6, 2006 - 16:22. Apache Install1) Download latest version of Apache (see Apache Binaries)
2) Install Apache on a development PC/Server.
We will then manual upload the Apache files to your production server with FTP
or other protocol.
3) Uninstall old Apache service (for details see
Install Apache
as a Windows Service)
apache -k uninstall -n "MyServiceName"
or
httpd -k uninstall -n "MyServiceName"
Running Apache + PHP + Accelerators under Windows 2003
Submitted by chris on September 19, 2006 - 20:54. Apache Install | Php Accelerators | Apache Bugs or Errors | PHP Bugs or Errors | PHP InstallI have been getting some instability running Apache with PHP + Accelerators under Windows 2003. I will log my finds in this article. Visit regularly for updates. I ended up running 7 Apaches on a Windows 2003 Server to test all different kinds of configurations. Recently because it was becoming complex, I started logging my finds. This page is probably for the hardcore debugging type...
Mitigating factors:
- Most crash seem to happen because of load (with very low traffic you might
never experience problems).
- My PHP applications are very demanding. Especially Gallery2 which relies on
external libraries for processing images. Again other PHP applications might not
experience these problems.
-If you have issues with IIS, these finding might also be applicable.
Apache Binaries and other integrated distributions
Submitted by chris on January 16, 2006 - 14:53. Apache Install | Windows SoftwareApache Install on Windows: Overview
Apache.org official distributions of their latest versions Apache Windows Binaries.
Apache Install on Windows: Overview
Submitted by chris on January 19, 2006 - 14:02. Apache InstallOfficial Apache for Windows 2.2.2
To get other Windows compiled distribution of Apache 2.x.x see: Apache Binaries and other integrated distributions
Note: I was getting some memory errors when running the ApacheLounge 2.2.0 distribution. At this point, if relatively new to WAMP, I recommend using the official Apache.org distribution.
2) Copy those binaries in a folder like e:\Apache220
I prefer the manual installation, so I installed the Apache distribution on a "test" machine (following the installation wizard) and upload the "Apache" folder to the production server.
Install Apache as a Windows Service
Submitted by chris on January 17, 2006 - 18:49. Apache Installapache -k install -n "MyServiceName" -f "c:\YourPathTo\httpd.conf"
If you skip -n "MyServiceName" it will default to Apache2.
If you skip -f "c:\YourPathTo\http.conf" it will default to "conf\httpd.conf", relative to were apache.exe (or httpd.exe) is located.
Create a local account for running the service
Submitted by chris on January 18, 2006 - 14:37. Apache InstallApache Links and Docs
Submitted by chris on January 18, 2006 - 15:01. Apache Installhttp://httpd.apache.org/docs/2.2/
Apache core features:
http://httpd.apache.org/docs/2.2/mod/core.html
Apache configuration directives:
http://httpd.apache.org/docs/2.2/mod/directives.html
Apache Bug search:
http://issues.apache.org/bugzilla/query.cgi

