<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16447"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Hallo Jeff,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Thank you</DIV>
<DIV>Alois</DIV>
<DIV><BR>>>> Jeff McKenna<jmckenna@gatewaygeomatics.com> 07.08.2012 15:35 >>><BR>Hello Alois,<BR><BR>Maybe nothing is wrong with your installation.<BR><BR>Since you are using MS4W 3.0.6:<BR><BR>- copy the file /ms4w/tmp/phpinfo.php into /ms4w/Apache/htdocs/<BR>- in your web browser goto: 127.0.0.1/phpinfo.php<BR>- the PHP/MapScript extension should be loaded automatically (search on<BR>that page for "mapscript")<BR><BR>I also worry about your old Windows version (XP); some parts of MS4W<BR>might not work properly with that.<BR><BR>-jeff<BR><BR><BR><BR><BR>-- <BR>Jeff McKenna<BR>MapServer Consulting and Training Services<BR><A href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</A><BR><BR><BR><BR>On 12-08-07 10:23 AM, Alois Dicklberger wrote:<BR>> Hello Jeff,<BR>> for installing ms4w I used your PHP MapScript Installation Guid. After<BR>> Installation I tried to test the PHP/MapScript-installation with this<BR>> php-file from your document:<BR>> <BR>> <HTML><BR>> <BODY><BR>> <BR>> <?php<BR>> if (PHP_OS == "WINNT" || PHP_OS == "WIN32")<BR>> {<BR>> dl("php_mapscript.dll");<BR>> }<BR>> else<BR>> {<BR>> dl("php_mapscript.so");<BR>> }<BR>> phpinfo();<BR>> ?><BR>> <BR>> </BODY><BR>> </HTML><BR>> <BR>> After al long odyssey I found your mail in the ms4w-mailinglist<BR>> from<<A href="http://dict.leo.org/ende?lp=ende&p=L3YAA&search=odyssey&trestr=0x8001">http://dict.leo.org/ende?lp=ende&p=L3YAA&search=odyssey&trestr=0x8001</A>><BR>> Dec 1st 2009. In this email you say that "since PHP version 5.3.0 you<BR>> can no longer use PHP's dl().<BR>> Mapscript.dll is already inabled in version 3.0.<BR>> Now I tested my installation with:<BR>> <BR>> <?php<BR>> if (!extension_loaded('php_mapscript')) {<BR>> if (!dl('php_mapscript.so')) {<BR>> exit;<BR>> }<BR>> }<BR>> ?><BR>> <BR>> The same error message was given back:<BR>> *Fatal error*: Call to undefined function dl() in<BR>> *C:\ms4w\Apache\htdocs\php_mapscript_neu.php* on line *3<BR>> <BR>> *Whats wrong in my installation?<BR>> Windows xp<BR>> ms4w 3.0.6<BR>> <BR>> Best wishes<BR>> Alois<BR>> <BR>> <BR>> <BR><BR>_______________________________________________<BR>MS4W-Users mailing list<BR>MS4W-Users@lists.maptools.org<BR><A href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</A><BR></DIV></BODY></HTML>