[mapserver-users] MapServer Dont Draw
Gregor at HostGIS
gregor at hostgis.com
Thu May 7 21:34:31 EDT 2009
> dl() its allow in the php.ini the extension=php_mapscript.so load ok
I'd have to disagree.
If you call dl() you're told that you're not allowed to use dl() That
means that dl() is not allowed in the php.ini
If you leave it out, mapscript is obviously not loaded via an extension=
line in php.ini since ms_newMapObj() is undefined.
And at any rate you don't want to do both.
So let's start over:
Do you have command-line access?
What happens if you run this command?
echo '<?php dl("php_mapscript.so"); print "Hello" ?>'| php
If you get "Module 'MapScript' already loaded" then MapScript really is
loading via php.ini In that case, remove the dl() line since it's
useless to load an already-loaded module.
If not, then php_mapscript.so is definitely NOT being loaded via php.ini
and you WILL want to use dl() In this case, double check your php.ini
for the enable_dl keyword, and restart Apache if you haven't done so
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