Mapscript: PHP5 and Windows
Palanisamy, Giri
palanisamyg at ORNL.GOV
Fri Jan 21 09:23:57 PST 2005
HI,
I am exploring PHP-mapscript for my mapserver applications, I am very
new to PHP, Installed the PHP 5.0.2 version under C:/PHP, and tested
with the simple php page, it works OK, but when I tried adding the "
php_mapscript_45.dll' under C:/PHP/ext/, I am getting PHP startup error
" Warning: dl() [function.dl]: Unable to load dynamic library
'C:/PHP/ext\php_mapscript_45.dll' - The specified procedure could not be
found. in f:\Inetpub\wwwroot\mapserv\fluxnet\testPHP.php on line 8"
I have edited php.ini file and added an entry on the extension, but
still I am getting the same errors.
I have got the latest mapscript-php from maptools.
Basically I followed all the steps (found on the readme.txt)
---------------------
To install the PHP_MAPSCRIPT.DLL module:
- Download PHP-5.0.2-Win32.zip from http://www.php.net/
- Configure PHP 5.0.2 on your server as per the instructions included
in the INSTALL.TXT in the PHP-5.0.2-Win32.zip file.
- Copy the php_mapscript_45.dll to your PHP4 extensions directory,
together
with all the other PHP_*.DLL.
- download and install the libcurl dlls
- download and install the ecw dlls
- php_mapscript_45.dll is ready to be used as a PHP extension.
----------------------------
Am I missing something?
Thanks!
Giri
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Yewondwossen Assefa
Sent: Wednesday, January 19, 2005 10:11 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Mapscript: PHP5 and Windows
I have placed the windows binaries of php/mapscript build with php5.0.2
on maptools.org
(http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html
development version).
I have tested it with a simple php/mapscript application (Gmap).
Please let me know of you have any problems.
Later,
Mathieu PARENT wrote:
> Hi,
> the bug #1100 (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1100)
> is fixed now. Thanks.
> Due to a lot of missing utilities, i can't get it compiled on windows.
> Do you have a build of it ?
> Thanks
>
> Best regards
>
> Mathieu Parent
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list