[Mapserver-users] php_mapscript.dll could not be found

Ryan, Adam ARyan at co.linn.or.us
Thu Jan 9 21:43:55 EST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2B852.1E249C20
Content-Type: text/plain;
	charset="iso-8859-1"


My quest for mapscript continues.
Perl & Windows, no luck.
PHP.  Must be bad luck.

I'm on a Windows XP box.
Both IIS and Apache run PHP 4.2.3 fine.

---Test 1: 

    <HTML>
    <BODY>
    <?php 
      dl("php_zlib.dll");	#to be sure dl() is working
      dl("php_mapscript.dll");
      phpinfo();
    ?>
   </BODY>
   </HTML>

On APache: zlib Table, no mapscript table.
On IIS: Same, plus on the bottom of the table I get this:

PHP Warning: Unable to load dynamic library
'D:/PHP/extensions/php_mapscript.dll' - The specified module could not be
found. in D:\webmap\php\test2.php on line 6 

---Test 2: why not?

I set "extension=php_mapscript.dll" in php.ini though I know I'm not
supposed to.
 
On both APache and IIS: Error Dialog: "Unable to load dynamic library
'D:/PHP/extensions/php_mapscript.dll' - The specified module could not be
found."

I've read through the old postings.  I'm sure mapscript and PHP are in sync.
Any suggestions?
Thanks for putting up with me.

Adam

------_=_NextPart_001_01C2B852.1E249C20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>php_mapscript.dll could not be found</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>My quest for mapscript continues.</FONT>
<BR><FONT SIZE=3D2>Perl &amp; Windows, no luck.</FONT>
<BR><FONT SIZE=3D2>PHP.&nbsp; Must be bad luck.</FONT>
</P>

<P><FONT SIZE=3D2>I'm on a Windows XP box.</FONT>
<BR><FONT SIZE=3D2>Both IIS and Apache run PHP 4.2.3 fine.</FONT>
</P>

<P><FONT SIZE=3D2>---Test 1: </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; &lt;HTML&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; &lt;BODY&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; &lt;?php </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
dl(&quot;php_zlib.dll&quot;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #to =
be sure dl() is working</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
dl(&quot;php_mapscript.dll&quot;);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phpinfo();</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; ?&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; &lt;/BODY&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; &lt;/HTML&gt;</FONT>
</P>

<P><FONT SIZE=3D2>On APache: zlib Table, no mapscript table.</FONT>
<BR><FONT SIZE=3D2>On IIS: Same, plus on the bottom of the table I get =
this:</FONT>
</P>

<P><FONT SIZE=3D2>PHP Warning: Unable to load dynamic library =
'D:/PHP/extensions/php_mapscript.dll' - The specified module could not =
be found. in D:\webmap\php\test2.php on line 6 </FONT></P>

<P><FONT SIZE=3D2>---Test 2: why not?</FONT>
</P>

<P><FONT SIZE=3D2>I set &quot;extension=3Dphp_mapscript.dll&quot; in =
php.ini though I know I'm not supposed to.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>On both APache and IIS: Error Dialog: &quot;Unable =
to load dynamic library 'D:/PHP/extensions/php_mapscript.dll' - The =
specified module could not be found.&quot;</FONT></P>

<P><FONT SIZE=3D2>I've read through the old postings.&nbsp; I'm sure =
mapscript and PHP are in sync.</FONT>
<BR><FONT SIZE=3D2>Any suggestions?</FONT>
<BR><FONT SIZE=3D2>Thanks for putting up with me.</FONT>
</P>

<P><FONT SIZE=3D2>Adam</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2B852.1E249C20--



More information about the mapserver-users mailing list