[mapserver-users] Installation Problem
LaFone, Frank
flafone at GEO.WVU.edu
Thu Oct 10 10:40:22 PDT 2002
Ok, I've tried this track with no luck. I downloaded PHP4.2.3 from php.net
and edited the php.ini file to point extentions to a directory called
extentions in the php dir. Then I placed the php_mapscript.dll file in the
extetions directory. It's still telling me it's unable to load
C:/php/extentions/php_mapscript.dll
The thing that puzzles me about it is that I have it working just fine on
one machine, but can't seem to get the application installed on a different
machine. Any ideas where I can turn next?
-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Wednesday, October 09, 2002 5:12 PM
To: LaFone, Frank
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] Installation Problem
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