Your message dated Mon, 12 Nov 2007 17:02:10 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#447814: fixed in mapserver 5.0.0-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: php5-mapscript
Version: 5.0.0-2

The PHP5 MapScript extension (from the UMN MapServer project) does not
work when PHP5 is running in either CGI/FCGI or CLI modes. For
example, when trying to use the MapScript extension in a PHP5 script
run from the command line, the following error message is emitted at
the point where the extension is loaded via the PHP dl() function:

"This build of mapscript can't be load as a 'cli' module for stability
reason, but only with php as an apache DSO."

Examining the Debian MapServer package source, I see this bug is
caused by a specific patch in the Debian build for the php5-mapscript
package. The patch, named 20_php_build.dpatch, inserts a check in the
startup code for the PHP/MapScript extension. The inserted code checks
the sapi_module name, and if it is 'cli', 'cgi', or 'cgi-fcgi', the
extension emits the above error message, and exits.

I do not believe there is any good reason to forbid the use of the
PHP/MapScript extension in CGI/FCGI or CLI modes. In fact, to the
contrary, the official MapServer documentation recommends running
PHP/MapScript in CGI mode, in preference to DSO. See:

Specifically, the following FAQ appears there:
Q: Does PHP/Mapscript have to be setup as a CGI? If so, why?
A: Yes, please see the PHP/Mapscript CGI page in the Mapserver Wiki for details.

I feel that the simplest and best remedy for this bug is to remove the
above patch (20_php_build.dpatch) from the MapServer package source.
Furthermore, the package comments should mention that PHP/MapScript is
recommended to be run in PHP as CGI, and possibly even warn users that
there could be instability issues when run in PHP as an Apache DSO.

[Note that I have also submitted this bug to the Ubuntu bug tracker. (See:]

--- End Message ---
--- Begin Message ---
Source: mapserver
Source-Version: 5.0.0-3

We believe that the bug you reported is fixed in the latest version of
mapserver, which is due to be installed in the Debian FTP archive:

  to pool/main/m/mapserver/cgi-mapserver_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/libmapscript-ruby1.8_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/libmapscript-ruby1.9_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/libmapscript-ruby_5.0.0-3_all.deb
  to pool/main/m/mapserver/mapserver-bin_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/mapserver-doc_5.0.0-3_all.deb
  to pool/main/m/mapserver/mapserver_5.0.0-3.diff.gz
  to pool/main/m/mapserver/mapserver_5.0.0-3.dsc
  to pool/main/m/mapserver/perl-mapscript_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/php5-mapscript_5.0.0-3_amd64.deb
  to pool/main/m/mapserver/python-mapscript_5.0.0-3_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Fabio Tranchitella <[EMAIL PROTECTED]> (supplier of updated mapserver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])

Hash: SHA1

Format: 1.7
Date: Thu, 08 Nov 2007 15:13:37 +0100
Source: mapserver
Binary: mapserver-doc perl-mapscript libmapscript-ruby1.9 mapserver-bin 
cgi-mapserver php5-mapscript libmapscript-ruby python-mapscript 
Architecture: source all amd64
Version: 5.0.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <>
Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]>
 cgi-mapserver - CGI executable for MapServer
 libmapscript-ruby - Ruby MapServer library
 libmapscript-ruby1.8 - Ruby MapServer library
 libmapscript-ruby1.9 - Ruby MapServer library
 mapserver-bin - MapServer utilities
 mapserver-doc - documentation for MapServer
 perl-mapscript - Perl MapServer library
 php5-mapscript - php5-cgi module for MapServer
 python-mapscript - Python library for MapServer
Closes: 446985 447814 447939 448821
 mapserver (5.0.0-3) unstable; urgency=low
   * debian/php5-mapscript.postinst: fixed a typo. (Closes: #446985)
   * debian/patches/20_php_build.dpatch: removed. (Closes: #447814)
   * debian/po/gl.po: added. (Closes: #447939)
   * debian/po/fr.po: added. (Closes: #448821)
 2698b0753b0fee1fa45369b7c4489f01 1452 devel optional mapserver_5.0.0-3.dsc
 7ad5ade4359b69db0e1ec6a73bbdc1f2 19765 devel optional mapserver_5.0.0-3.diff.gz
 dd5e7d012b0d41269d2c84e70c9cc99e 163344 doc optional 
 d93596683fa23031cb8000960c79dfa6 42056 devel optional 
 3e2f431f9570c8d0bfaf3b0da5daea4d 577360 web optional 
 0103b60cc6d9f7c5d3b04a86706b40ed 771730 perl optional 
 94e76615da20456e83fa38c8cc2096dc 466844 web optional 
 6fe3c61972c34aff7d1128783368d993 1211310 python optional 
 ac96ae0b6a7f93c7389af600b8b06a4d 3372740 misc optional 
 686ec3c6496081421132ff648f4f2ea4 646908 devel optional 
 62c31f9501531f7dff88079e1e9df034 646990 devel optional 

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---
Pkg-grass-devel mailing list

Reply via email to