[mapserver-users] Installing PHP Mapscript
Brian Fischer
bfischer at mpls.houstoneng.com
Mon Oct 22 07:50:13 PDT 2001
Hi list,
I am trying to install PHP4.0.6 and MapServer/MapScript 3.5 on a
Microsoft IIS 5.0 Server.
I was wondering if anyone has any insight to what may be wrong with my
setup. I downloaded the mapscript zip file from
http://www2.dmsolutions.ca/mapserver/dl/php4.0.6_php_mapscript_35_libwww
.zip. I followed the install instructions and the How_to's and can not
seem to see what is causing this error. I seem to have all of the names
right. I also searched the archive and all of the messages about this
subject point to incorrect version of mapscript with the version of php,
but I seem to have that right. PHP seems to work fine, but it does not
find the mapscript .dll.
The .dll file is in c:\php\extensions\php_mapscript_35.dll
My php.ini file looks like:
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions\
The Php script looks like:
<HTML>
<BODY>
<?php
if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
{
dl("php_mapscript_35.dll");
}
else
{
dl("php_mapscript_35.so");
}
phpinfo();
?>
</BODY>
</HTML>
And I get this error:
Warning: Unable to load dynamic library
'c:\php\extensions\php_mapscript_35.dll' - The specified module could
not be found. in c:\inetpub\wwwroot\projects\phpinfo_mapscript.php on
line 8
Here is the results page:
http://www.houstoneng.com/projects/phpinfo_mapscript.php
Any ideas?
Thanks,
Brian
Brian Fischer
Houston Engineering, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011022/6e30bec2/attachment.htm>
More information about the MapServer-users
mailing list