Problems with PHP as Module and as cgi with PROJ

William Bronsema wbronsema at DMSOLUTIONS.CA
Wed Jan 12 08:11:29 EST 2005


Hi Flavio,

Just as an FYI - I was at a PHP conference last March and I spoke with
several of the developers in person and they highly recommend to NOT use
Apache 2 especially when running PHP as a module.  They indicated that they
focus there attention on making sure that PHP is bullet-proof for 1.3.x.
That is what I understood their position to be concerning Apache 2, but that
might have changed since the release of PHP 5.

Anyway, I don't know if it's an Apache is the cause here, but it might be a
contributor.

Regards,
Bill



________________________________________________
William A. Bronsema, C.E.T.
Applications and Software Development,
DM Solutions Group Inc.



> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> Behalf Of Flavio Hendry
> Sent: January 11, 2005 11:21 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] Problems with PHP as Module and as cgi with
> PROJ
>
> hi all
>
> as follows:
> - windows 2003
> - apache 2.0.52
> - php 4.3.8
> - ms 4.4 (php_mapscript_44.dll)
> - dual processor
>
> 1. running php as a module:
>
> - everything seems to be running fine. as soon as multiple users access
> the application, weard things start to happen: when zooming, all at
> once the wrong map is delivered (other map as selected or other extent)
> or the application hangs completely, no error in log or whatsoever ...
>
> - apache often crashes with the following message:
> [notice] Parent: child process exited with status 3221226324 --
> Restarting.
>
> 2. as we suppose that there is a problem running php as a module, we
> try to run it as cgi
>
> With the result that the map files are not read at all with the
> following message (exactly the same map files as with php a module
> where they run fine, projections are installed in the default
> dir "c:\proj"):
> [MapServer Error]: msProcessProjection(): No such file or directory
> projection used is epsg:9814 or world:CH1903 (both the same):
> # CH 1903 / Swiss Oblique Cylindrical
> <9814> +proj=somerc +lat_0=46d57'08.66"N +lon_0=7d26'22.50"E
> +ellps=bessel +x_0=600000 +y_0=200000 +towgs84=674.374,15.056,405.346
> +units=m +k_0=1 +no_defs <>
>
> someone has an idea ?
> thx.
>
> Mit freundlichem Gruss / Best Regards
> Flavio Hendry
>
> ----------------------------------------------------------------
> TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
> ----------------------------------------------------------------
> ############      Mit freundlichen Gruessen / Kind Regards
> ############             mailto:flavio at tydac.ch
> ############         TYDAC AG - http://www.tydac.ch
> ####    ####        Geographic Information Solutions
> ####    ####         Luternauweg 12 -- CH-3006 Bern
> ############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
> ----------------------------------------------------------------



More information about the mapserver-users mailing list