Mapscript: PHP5 and Windows

Palanisamy, Giri palanisamyg at ORNL.GOV
Fri Jan 21 13:35:01 EST 2005


I Got it working, it is with because of few other missing dlls

Thanks

Giri


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Palanisamy, Giri
Sent: Friday, January 21, 2005 1:28 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Mapscript: PHP5 and Windows

Hi Assefa,
Thanks for the response, I have tried the dependency walker, and it is
first complained about " php5ts.dll not found", then I placed this dll
and now I am getting " Warning: At least one module has an unresolved
import due to a missing export function in a delay-load dependent
module.", and I couldn't find out what exactly it is missing.

Can you please tell me what are all the dependent modules (extensions)
required for php-mapscript? I am running Windows IIS on windows xp  

Giri

Giri


-----Original Message-----
From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca] 
Sent: Friday, January 21, 2005 12:57 PM
To: Palanisamy, Giri
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Mapscript: PHP5 and Windows

This kind of errors usually end up being a dependant dll not found on 
the system. Try loading php_mapscroipt_45.dll into a dependecy checking 
program like dependecy walker (www.dependencywalker.com/ ) and see if it

can identify what is missing.

Later,
Palanisamy, Giri wrote:

> 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
> ----------------------------------------------------------------
> 
> 


-- 
----------------------------------------------------------------
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