On 2020-03-11 4:47 a.m., Stefanos Anastasiou wrote:
Hello,
I also have the same problem. I have only compiled the PHPNG version
and there is libphp_mapscriptng.so generated which I try to put in
/usr/lib/php/2017(...) folder, as this is the extension folder shown by
phpinfo(). But test_draw_map still fails complaining about new_mapObj
in line 2508 (if I remember correct) of the mapscript.php file which I
include in the beginning of the script as described in the migration
guide https://mapserver.org/MIGRATION_GUIDE.html . I have compiled SWIG
3.0.12 .
The correct syntax is: new mapObj('path/to/file.map');
You can also find working scripts submitted by users in the "Additional
Notes, Tips" section at https://ms4w.com/trac
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users