At least SWIG version 4.0 is recommended for PHP7 support (or git-master).
I also compile all mapserv dependencies from source on unix (such as
Freetype, libpng, Harfbuzz, etc) as well as for GDAL, to avoid issues
such as yours involving packages that you likely did not compile.
-jeff
--
Je
I am having the same issue on a RHEL7 server as the OP. Using SWIG with PHP
mapscript when I attempt to add a label with any font specified it fails to
create the image and throws a fatal error. If I leave the font parameter
out of the label section of the map file the image is generated but with
Do you get the same error if you use the full path to FONTSET in your Mapfile?
FONTSET "/Volumes/Data/WebServer/newswc/mapfiles/fonts.list"
On Mon, Aug 26, 2019, at 11:45 PM, Paul Moen wrote:
> I am running into an error after trying Mapserver 7.4.1 on macOS 10.14
> mojave with the php swig ve
I am running into an error after trying Mapserver 7.4.1 on macOS 10.14 mojave
with the php swig version of mapscript.
Here is the output from php -i when I am using php_mapscriptng.so
PHP Version => 7.3.8
mapscript
MapServer Version => MapServer version 7.4.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML