[Mapserver-users] Re: PHP_MapScript install problem

Daniel Morissette morissette at dmsolutions.ca
Mon Dec 30 13:44:57 EST 2002


> Andrew Bailey wrote:
> 
> I've installed the latest version of MapServer on winXP/IIS5.0. Just
> installed PHP 4.3.0 and have got stuck with testing the
> php_mapscript.dll. I'll explain my problem in full below and hope you
> can help, but to be brief i've tried testing php/mapscript using;
> 
>     <HTML>
>     <BODY>
>     <?php
>     if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
>     {
>       dl("php_mapscript.dll");
>     }
>     else
>     {
>       dl("php_mapscript.so");
>     }
>     phpinfo();
>     ?>
>    </BODY>
>    </HTML>
> And I get the following error message: Warning: dl() [function.dl]:
> Unable to load dynamic library './php_mapscript.dll' - The specified
> procedure could not be found. in
> c:\inetpub\wwwroot\phpmapscript_test.php on line 6  Then the rest of
> the PHP table details are displayed.. just not the mapscript stuff.
> 


If it didn't find the DLL then the error message should say something
like "File not found...", or at least that's what you get on Unix and I
would expect the same on Windows (I don't have a Windows box handy to
test this now).

Based on the error message, I suspect that what's happening is that you
are trying to load a php_mapscript.dll built for an older version of PHP
(e.g. 4.2.3) using PHP 4.3.0.  If you use the DLL on our download site
(http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.3-win32-php4.2.3-libwww.zip)
then you'll need PHP 4.2.3.

We will start building DLLs for PHP 4.3 and make them available on our
site sometimes in the next few weeks.

BTW, please use the mapserver-users list for further questions.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list