[Mapserver-users] php mapscript installation problem

Hurtubise, Yvette Hurtubise at chilliwack.com
Fri Apr 25 12:49:33 EDT 2003


Here is my problem...

I have php (version 4.2.2) installed on Windows2000 and I have tested it, working fine. I'm currently using MapServer 3.6.3.

I have then places php_mapscript_36.dll into C:\php\extentions\

and I have also changed my php.ini file so that extenstion_dir = path above.

My problem occurs when I run  this (test.php)...


    <HTML>
    <BODY>

    <?php
    if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
    {
      dl("php_mapscript_36.dll");
    }
    else
    {
      dl("php_mapscript.so");
    }
    phpinfo();
    ?>

   </BODY>
   </HTML>

I get the error :   Warning: Unable to load dynamic library 'C:\php\extensions\php_mapscript_36.dll' - The specified module could not be found. in c:\inetpub\wwwroot\chilliwack\test.php on line 9<!--
a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-family: arial, helvetica, sans-serif; font-size: 18pt; font-weight: bold;}
h2 { font-family: arial, helvetica, sans-serif; font-size: 14pt; font-weight: bold;}
body, td { font-family: arial, helvetica, sans-serif; font-size: 10pt; }
th { font-family: arial, helvetica, sans-serif; font-size: 11pt; font-weight: bold; }
//-->
Then is continues to list out a bunch of information.
I have double check and triple check to make sure that php_mapscript_36.dll is in C:\php\extention\ 
Can anyone please help me figure out where I'm going wrong?
Thanks
Yvette





More information about the mapserver-users mailing list