[ms4w-users] xampp ms4w installation

Jeff McKenna jmckenna at gatewaygeomatics.com
Sun Feb 15 14:20:13 EST 2009


Guy Who Know Nothing wrote:
> I installed the lastest version xampp and tried to follow the instruction on installing ms4w 
> 
> 1. Copied and put php_mapscript.dll to xampp/php/ext
> 2. Inserted extension=php_mapscript.dll to php.ini
> 3. Tried a script
> 
> <HTML>
> <BODY>
> <?php
> dl("php_mapscript.dll");
> phpinfo();
> ?>
> </BODY>
> </HTML>
>  
> Warning pops up
> Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_mapscript.so in your php.ini in C:\128\try.phtml on line 1
>  
> thanks
> 

MS4W contains its own Apache and PHP installation, plus MapServer.  If 
you want to use the MapServer binaries from MS4W in your own Apache/PHP 
install, you should make sure to grab all of the dependent dlls in the 
/cgi-bin/ directory, as noted in your local MS4W README file, or online 
at: 
http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#i-installing-the-ms4w-mapserver-binaries-in-other-environments

(I'm not familiar with xampp)

-jeff


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the ms4w-users mailing list