[mapserver-users] Installation Problem
Daniel Morissette
morissette at dmsolutions.ca
Wed Oct 9 14:12:12 PDT 2002
PHP looks for php_mapscript.dll in the directory defined by
'extension_dir' in the php.ini. So I would suggest that you open your
php.ini (should be in C:\windows or C:\windows\system), look for the
value of extension_dir ... and place php_mapscript.dll in that
directory.
You can also find that information using phpinfo(). Create a small
phpinfo.php file on your server with the following line in it, and look
for the value of extension_dir in the outpout:
<?php phpinfo(); ?>
If extension_dir is set to "./" in your php.ini then you need to set it
to the absolute path where all your PHP extension DLLs are located.
Assuming that you installed PHP under C:\PHP4 then you probably have a
C:\PHP4\extensions or equivalent with a bunch of php_*.dll files in it.
Use the path to this directory as extension_dir and place
php_mapscript.dll in that directory.
Daniel
"LaFone, Frank" wrote:
>
> Hi, I downloaded 3.6 months ago, installed it on one system, and got it
> running smooth as glass. I developed a project using php mapscript that
> works wonderful on one machine running Windows 2000, Apache, and Php (4.X I
> believe).
>
> Now I'm trying to get the same project loaded on a laptop for demo purposes
> (where I won't have an Internet connection). When I try to run my mapping
> project, I get the error where it says it can't load the php_mapscript.dll.
> I have that file located in Apache's root document dir, the PHP directory,
> and in the project directory. Does anyone know where it would naturally
> look for this dll? Or more generally, can someone give me any hints why I
> can't get this darn thing working?
>
> That'll teach me to wait 2 days before a presentation to test the system..
>
> Thanks in advance,
>
> Frank LaFone
More information about the MapServer-users
mailing list