[MS4W-Users] Antw: Re: MS4W-Installation

Alois Dicklberger_Passau alois.dicklberger at uni-passau.de
Wed Aug 8 04:51:50 EST 2012


Hallo Jeff,

first I installed ms4w on Win7 64, but the test with dl() failed and I presumed that the problem is the OS. So I installed ms4w on xp. If you confirm, that installation on Win7 64 is running properly, I will prefere Win7.

Thank you
Alois

>>> Jeff McKenna<jmckenna at gatewaygeomatics.com> 07.08.2012 15:35 >>>
Hello Alois,

Maybe nothing is wrong with your installation.

Since you are using MS4W 3.0.6:

- copy the file /ms4w/tmp/phpinfo.php into /ms4w/Apache/htdocs/
- in your web browser goto: 127.0.0.1/phpinfo.php
- the PHP/MapScript extension should be loaded automatically (search on
that page for "mapscript")

I also worry about your old Windows version (XP); some parts of MS4W
might not work properly with that.

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 12-08-07 10:23 AM, Alois Dicklberger wrote:
> Hello Jeff,
> for installing ms4w I used your PHP MapScript Installation Guid. After
> Installation I tried to test the PHP/MapScript-installation with this
> php-file from your document:
> 
> <HTML>
> <BODY>
> 
> <?php
>   if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
>   {
>     dl("php_mapscript.dll");
>   }
>   else
>   {
>     dl("php_mapscript.so");
>   }
>   phpinfo();
> ?>
> 
> </BODY>
> </HTML>
> 
> After al long odyssey I found your mail in the ms4w-mailinglist
> from<http://dict.leo.org/ende?lp=ende&p=L3YAA&search=odyssey&trestr=0x8001>
> Dec 1st 2009. In this email you say that "since PHP version 5.3.0 you
> can no longer use PHP's dl().
> Mapscript.dll is already inabled in version 3.0.
> Now I tested my installation with:
> 
> <?php
> if (!extension_loaded('php_mapscript')) {
>     if (!dl('php_mapscript.so')) {
>         exit;
>     }
> }
> ?>
>  
> The same error message was given back:
> *Fatal error*: Call to undefined function dl() in
> *C:\ms4w\Apache\htdocs\php_mapscript_neu.php* on line *3
> 
> *Whats wrong in my installation?
> Windows xp
> ms4w 3.0.6
> 
> Best wishes
> Alois
> 
> 
> 

_______________________________________________
MS4W-Users mailing list
MS4W-Users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20120808/cb3b764a/attachment.htm 


More information about the MS4W-Users mailing list