[Mapserver-users] Mapscript extension error...

Paul Spencer spencer at dmsolutions.ca
Fri May 2 10:50:54 PDT 2003


Richard, there are a couple of things that can go wrong, but this 
normally means that a dll that mapscript needs is not found in the 
system path.  On winXP there is a utility called depends.exe that will 
show you dependencies of any executable or dll file.  You can access 
this utility by right clicking on the php_mapscript dll and selecting 
"view dependencies".  The resulting screen will show you all the files 
that php_mapscript needs in order to load.  It is most likely that you 
are missing one of these files.  Once you have identified the missing 
files, it is a simple matter of making sure that the file is in your 
system path (normally by moving them to c:\windows\system32 or by 
editing the PATH environment variable).

It may also be that your IIS configuration is not correct, but that 
seems unlikely since you can load php.

Cheers,

Paul

Becher, Richard wrote:

> I have installed PHP and PHP_MAPSCRIPT.  I have copied the resulting 
> php_mapscript.dll file to the C:\PHP\extensions directory.  I have also 
> modified the php.ini file accordingly.
> 
>  
> 
> When I run phpinfo() I can successfully include/load any extension 
> EXCEPT php_mapscript.dll.  Not sure what’s going on….any help would be 
> greatly appreciated!
> 
>  
> 
>  
> 
> Running WinXP, IIS 5, Mapserver 3.7 (latest) and PHP 4.3.2RC2 for win32….
> 
>  
> 
> Cheers,
> 
>  
> 
> **Richard Becher**
> 
> /*/Sierra Systems/*/*
> *130 Slater Street, Suite 800
> Ottawa, Ontario K1P 6E2
> Phone: 613.236.7888, Extension: 350
> 
> Fax: 613.236.9333
> Email: RichardBecher at SierraSystems.com
> www.SierraSystems.com <http://www.sierrasystems.com/>
> 
>  
> 
>  
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





More information about the MapServer-users mailing list