PHP/Mapscript installation problem

K Kuo mtrp36 at HOTMAIL.COM
Thu Mar 2 09:39:15 PST 2006


Hi list,
I have followed the instruction for PHP/Mapsript installation. I think that 
I did not successfully install it.
I verified it with following code, however, I did not see 'Mapscript' listed 
anywhere in the page.
<HTML>
<BODY>
<?php
  if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
  {
    dl("php_mapscript_48.dll");
  }
  else
  {
    dl("php_mapscript.so");
  }
  phpinfo();
?>
</BODY>
</HTML>

I am using ms4w, apache 2.0.55 and php5.

This is extension_dir in my php.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\php\extensions"

I found that php5 has not been supported yet while the last update of 
PHP/Mapscript installation doucment. Is this the reason why I failed? or 
should I check other configurations for success?

Thanks in advance


Best,

Kurt



More information about the MapServer-users mailing list