[mapserver-users] PHP4 load library error

Daniel Morissette morissette at dmsolutions.ca
Wed May 30 11:52:35 PDT 2001


Janet Ciavarelli wrote:
> 
> I followed all the instructions for loading the php_mapscript.dll but get this error when I run phpinfo_mapscript.php4
> 
> Warning: Unable to load dynamic library './php_mapscript.dll' - The specified module could not be found. in g:\apache1319\apache\htdocs\phpinfo_mapscript.php4 on line 17
> 
> I'm wondering if there's another variable I have to set in the httpd.conf file to tell it where to look for it, cause it's looking for it in the wrong place.
> 

The location of the PHP extensions (DLLs) is set in the php.ini file
that you should have copied in your C:\windows directory.

Look for the following line in php.ini:

extension_dir = c:/apache/php4/extensions	; directory in which the
loadable extensions (modules) reside

... and replace C:/apache/php4/extensions with whatever the location of
your php4 extensions directory is, and then copy your php_mapscript.dll
to that directory.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the MapServer-users mailing list