[MapServer-users] Setting DEBUG file for PHP MapScript in mapserver.conf does not work
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Thu Mar 20 06:56:32 PDT 2025
Hi Jan,
I guess the mapserver.conf is not used with mapscript.
> The configuration file is loaded by the MapServer CGI at runtime and provides site-level configuration for all mapfiles.
Jörg
Am 20.03.25 um 14:51 schrieb Jan Hartmann via MapServer-users:
> Hi,
>
> In my mapserver.conf file I have:
>
> MS_DEBUGLEVEL "5"
> MS_ERRORFILE "/var/log/apache2/error.log_mapserver"
>
> When calling /cgi-bin/mapserv?map=test.map, I get errors both in the
> regular apache error log and in the mapserver error log. However, when I
> use the same map in PHP-MapScript ($oMap = new mapObj("test.map), only
> the apache error log gets updated. When I configure the mapfile itself
> both logs get updated:
>
> DEBUG 5
> CONFIG "MS_ERRORFILE" "/var/log/apache2/error.log_mapserver"
>
> Is this a bug? I would like to enable debugging for all the Mapscript
> files in my applications.
>
> Jan
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Viele Grüße,
Jörg Thomsen
---------------------------------------------
WhereGroup Shorts 2025 - am 15. Mai
Im Fokus: PostgreSQL & PostGIS
Online als ZOOM-Meeting
https://wheregroup.com/shorts/
---------------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
More information about the MapServer-users
mailing list