<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;">
      <pre>(re-posting, trying again to get an answer...)
Trying to get Mapserver and PHP Mapscript installed, under already 
running Apache (XAMPP, W7, Apache 2.2.14 (Win32),PHP 5.3.1)
Have followed advice I could find, as best I could:
1. followed steps
<a href="http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#i-installing-the-ms4w-mapserver-binaries-in-other-environments">http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#i-installing-the-ms4w-mapserver-binaries-in-other-environments</a>
Using files from ms4w 2.3.1.
So listed dlls are in C:\xampp\cgi-bin
php_mapscript.dllis in C:\xampp\php\ext
Various paths in conf/httpd.conf set
Mapserver running, for exampled testing 
<a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.map&amp;layer=states&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.map&amp;layer=states&amp;mode=map</a> 
&lt;<a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.map&amp;layer=states&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.map&amp;layer=states&amp;mode=map</a>&gt;, 
OK; commandline tools OK.
php.ini has extension=php_mapscript.dll, php.ini is the correct one 
(have activated/deactivated several other extensions which are then 
reflected in php_info)

2. now I want the PHP mapscript to work, the goal...
testing with quickmap.php (got rid of the dl() call as it's not 
supported and I have mapscript in php.ini as an extension)
"Call to undefined function ms_newMapObj() 
in*C:\xampp\htdocs\quickmap.php*on line*27"
*hmm, ok, and the mapscript extension is not showing up in php_info either
running: php.exe ....htdocs/phpinfo_mapscript.php or any *.php using the 
mapscript dll, getting
...
Module compiled with module API=20060613
PHP compiled with module API=20090626
...they must match ...

Suggestions? Do I have to compile php_mapscript.dll to somehow match the 
PHP compilation?

/Paul</pre>
    </span>
  </body>
</html>