[mapserver-users] MapServer Dont Draw

Gregor at HostGIS gregor at hostgis.com
Thu May 7 14:20:27 PDT 2009


> Warning:  dl() has been disabled for security reasons  in
> /home/orsep/public_html/test/pmapper-stable/incphp/globals.php
> on line 51

That says it all: Your PHP installation does not allow you to load PHP 
modules, such as MapScript. So running a MapScript-based app, just isn't 
going to happen unless you ask your sysadmin to allow you to use dl()

A long shot, but worth a try: Try commenting out the dl() line in 
globals.php:51 and see whether the app begins working.

If so, it means that they pre-loaded MapScript for you and that you 
don't need to dl() it.

If not, then you'll have to ask them very nicely to pre-load MapScript 
in the php.ini file, or get another web provider. (not to plug for 
ourselves, but we do map-friendly hosting; see signature)

-- 
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+   Server+   A+   Security+



More information about the MapServer-users mailing list