Is the MapServer php module installed and operating correctly?
This must be established prior to further testing. If MapServer (which is not an Axiell product) is not working, Web Maps cannot operate.
Setting up MapServer is usually the area where most problems occur. MapServer is very sophisticated functionally but can be awkward to install on some combinations of Operating System and Environment. We do not supply or support MapServer, however Web Maps requires it to function (in the same way that we do not supply web servers or the php environment but without them EMuWeb will not work). While we can provide consultation and assistance in installing MapServer, clients should also avail themselves of documentation at http://mapserver.gis.umn.edu/
The successful installation of the MapServer PHP module (PHP MapScript) can be tested by calling:
http://HOST/emuwebXXXX/objects/admin/admin.php
(as with testing EMuWeb) and checking for a "MapScript" section in the display. It should include an entry similar to:
MapServer version X.X.X OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
The actual values here reflect how MapServer has been built.
Typical minimum MapServer capability for Web Maps is:
version >= 4.4.1
OUTPUT=GIF
OUTPUT=PNG
OUTPUT=JPEG
SUPPORTS=PROJ
SUPPORTS=WMS_CLIENT
INPUT=OGR
INPUT=GDAL
INPUT=SHAPEFILE
If no MapServer section exists, check the following:
- Has MapScript been installed?
- Are there problems with PHP MapScript module?
If the command line version of PHP is installed on the web server, try typing:
php -v
and checking if errors are reported (it should attempt to load PHP Mapscript and will report problems that happen when loading).
- Has MapScript been loaded by PHP?
Again, if PHP command line is installed on the web server try typing:
php -m
and checking that one of the modules listed is MapScript (and that no errors appear).