[mapserver-users] Re: Using mapserver on windows in production

joel collins jconline at gmail.com
Mon Oct 4 13:45:49 EDT 2010


I'm sorry, but I think i'm not even there yet.

I can get ms4w working in the default configuration (older version of
apache and and old version of php), but I want to make it work with
the latest version of IIS / php.

I have been trying unsuccessfully to get IIS7.5 to talk to the older
version of php...It only seems to work when i point a mapping to
C:\ms4w\Apache\cgi-bin\php5isapi.dll.  This gets me up to the point
where I try to dl('php_mapscript.dll') but i get a warning about not
being able to do that in IIS.
When i add php_mapscript.dll to the extensions in php.ini, nothing
happens.  I think i may be missing a dependency or soemthing?

Running php in cgi mode results in this error:
HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are "".

I"m feeling quite frustrated right now.  What is the best way to be
able to use php/mapscript in production in windows?

On Mon, Oct 4, 2010 at 10:55 AM, Sumit Sharma <sumit321 at hotmail.com> wrote:
>
> we are using mapserver to develop desktop and web applications and using them
> successfully in various projects.
> I would recommend you to put your all mapserver dll's and other dependency
> in one single folder. All your application executables should not be part of
> this folder. You may use one environment variable which may point towards
> mapserver directory. Thus you will be sure to use which version of mapserver
> you may want to use.
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Using-mapserver-on-windows-in-production-tp5599047p5599492.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list