On my server I have installed a web application that comes with a bundle of Apache Services. Hence all the apache related dlls are located in the application folder's sub directory (e.g., C:\Program Files\MyWebApp\apache2). It seems that when the windows 2003 server is started all the request will be served by that apache services.
Now I want to install another instances of Apache and MYSQL, PhP to the default Program Folders ( e.g., C:\Program Files\Apache Service Foundation etc), however upon installation I can't configure it-- there is no way to get the second Apache Service up and running.
When I am installing the second Apache, I set the network domain name to "pm2", and choose the Port 8080 option. However, when apache is finished in installation, when I type in http://pm2:8080, I got a page cannot be displayed error.
Is there anything I miss?
Does the original site still work ok? If it does, there is a chance that the second installation of apache is trying to install itself as a service with the same name as the first instance and therefore, failing.
To install apache as a second service use:
httpd -k install -n "Apache Instance 2" -f "C:\Program Files\Apache Service Foundation\path\to\your\conf file.conf"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With