[MapServer-users] Installing PHP-MapScript from source

Jan Hartmann j.l.h.hartmann at gmail.com
Thu Oct 19 09:12:31 PDT 2023


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/20231019/553f0f82/attachment.htm>


More information about the MapServer-users mailing list