[mapserver-users] Fatal error: Call to undefined function dl() in C:\ms4w\Apache\htdocs\phpmapscript.php on line 5

Milo van der Linden mlinden at zeelandnet.nl
Mon Nov 30 23:07:14 PST 2009


Hello Geetha,

Does this mean that the problem is solved? 

On Mon, 2009-11-30 at 22:51 -0800, new wrote:
> Thanks milo,
> 
>     I checked with php.ini dl method is enabled.I tried in commmand prompt 
> php C:/ms4w/Apache/htdocs/phpmapscript.php 
> No windows error was reported.
> 
> newuser.
> 
> 
> Milo van der Linden-3 wrote:
> > 
> > Dear geetha,
> > 
> > This has nothing to do with mapserver/mapscript, but is a php error. The
> > dl method is (correct me if I am wrong) a little outdated and has to
> > specifically be set to ENABLED in the php.ini.
> > 
> > Please google a bit on the dl error and see what parameter you need to
> > change (sorry that I cannot give you a full answer, but I am on 3G in a
> > train and unable to do some serious googlin')
> > 
> > On Tue, 2009-12-01 at 00:37 -0500, geetha at ttkmaps.com wrote:
> >> 
> >> 
> >> Hi all,
> >> 
> >>  
> >> 
> >>   I tried to install php/mapscript in windows,I get the above error.I
> >> use mapserver version 5.4.2,Apache 2.2.11,PHP 5.3.Php works fine.Im
> >> able to run files with .php extension,but the below coding produces
> >> error:
> >> 
> >> <HTML>
> >> <BODY>
> >> 
> >> <?php
> >> dl("php_mapscript.dll");
> >> phpinfo();
> >> ?>
> >> 
> >> </BODY>
> >> </HTML>
> >> 
> >> My php_mapscript.dll is in ..php/ext folder by default.My php.ini &
> >> php.exe is in /ms4w/Apache/cgi-bin.Is there any other dll i should
> >> add?It is said php/mapscript is preconfigured right...then what might
> >> be wrong?Thanks in advance.
> >> 
> >> NewUser.
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> mapserver-users mailing list
> >> mapserver-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > 
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > 
> 





More information about the MapServer-users mailing list