[MS4W-Users] How do we change the environment variable. see the documentation
ykouadio at gmail.com
Wed May 8 04:33:49 EDT 2019
Thank you. I figured it out.
I am on MS Windows 10 pro. Mapserver 4.0
The original configuration is:
With this setting in the httpd.conf the Apache service will not start if
IIS is already running. If you enter localhost from your browser it will
default to IIS first available html file in inetpub/wwwroot/ folder.
>From command prompt (run as administrator)
*goto to **C:\ms4w\Apache\conf*
*h*ttpd.exe -e warn
You will get this error:
OS 10013)An attempt was made to access a socket in a way forbidden by its
access permission. : AH00072: make sock: could not bind to address
(OS 10013)An attempt was made to access a socket in a way forbidden by its
access permission. : AH00072: make sock: could not bind to address [::]:80
AH00451: No listening sockets available.
Ah00015: Unable to open logs
In fact, IIS won't let go. If you check in the Services, you will see that
the Apache service is not running.
I replaced the original port by the following
This allowed starting the Apache service.
Then launch your browser call localhost with port specified i.e:
You will get to mapserver main MS4W page.
With that you have both Apache and IIS running on the same machine without
I hope this helps.
On Tue, May 7, 2019 at 5:22 AM Jeff McKenna via MS4W-Users <
ms4w-users at lists.ms4w.com> wrote:
> Hello YK,
> You are referring to an IIS document, but MS4W is designed for the
> Apache web server, just making sure that you are aware of that. Please
> definitely follow MS4W's readme for detailed installation and
> configuration steps (see https://ms4w.com/README_INSTALL.html)
> MS4W does set many important environment variables for you, you can
> check Apache's config file for those at C:/ms4w/Apache/conf/httpd.conf
> Also, MS4W's setenv.bat file sets many important variables as well.
> Hope this points you in the right direction.
> Thank you for using MS4W.
> "MS4W: open doors as well as windows"
> Jeff McKenna
> MapServer Consulting and Training Services
> On 2019-05-06 6:47 PM, B.K. via MS4W-Users wrote:
> > Hi,
> > See the documentation at
> > https://mapserver.org/installation/iis.html#mapserver-setup
> > Set 5 to step 8
> > Does that apply to version 4.0? how do you name those variable?
> > Any help is appreciated
> > Thx,
> > YK
> MS4W-Users mailing list
> MS4W-Users at lists.ms4w.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MS4W-Users