[MapServer-users] Docker imgage for MapServer with PHP-MapScript
Jan Hartmann
j.l.h.hartmann at gmail.com
Fri Oct 20 20:40:50 PDT 2023
I tried this with serveral versions of PHP and MapServer, but got always
the same result. Can anyone point me to a Docker image for MapServer +
PHP-MapScript?
Jan
On 19/10/2023 18:12, Jan Hartmann wrote:
> Still not there. Everything has been installed, and phpinfo() gives:
>
> MapServer Version MapServer version 8.0.1 PROJ version 9.3 GDAL
> version 3.7 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG
> SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
> SUPPORTS=WCS_SERVER SUPPORTS=OGCAPI_SERVER INPUT=JPEG INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF
>
>
> But calling "$map = new mapObj('mapfile.map');" gives:
>
> *Fatal error*: Uncaught Error: Class "mapObj" not found in
> /mnt/virdir/www_root/test/test_mapscript.php:2 Stack trace: #0 {main}
> thrown in*/mnt/virdir/www_root/test/test_mapscript.php*on line*2
>
> *Any idea?
>
> Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231021/238da702/attachment.htm>
More information about the MapServer-users
mailing list