Hi, <br><br>I get the same error, and I didn't do anything to the .conf file. The power's that be tell me that you shouldn't have to ANYTHING to the MS4W settings. I however find this documentation to be opaque. here's the error I get trying to use the "by example" php/mapscript<br>
<br><br>
<b>Warning</b>: dl() [<a href="http://localhost/jerba/Map/function.dl">function.dl</a>]: Unable to load dynamic library 'C:/ms4w/Apache/php/ext/php_mapscript.so' - The specified module could not be found.
in <b>C:\ms4w\Apache\htdocs\jerba\Map\map2.php</b> on line <b>2</b><br>
<br>
<b>Fatal error</b>: Call to undefined function ms_newMapObj() in <b>C:\ms4w\Apache\htdocs\jerba\Map\map2.php</b> on line <b>4</b><br><div class="gmail_quote">2009/3/16 Bendaoud med <span dir="ltr"><<a href="mailto:azamharir@gmail.com">azamharir@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">hi all,<br><br>i must work with php as an apache's module. I changed " Action application/x-httpd-php /cgi-bin/php-cgi.exe " by "LoadModule php5_module "c:/ms4w/Apache/cgi-bin/php5apache2_2.dll" in my "C:\ms4w\Apache\conf\httpd.conf". apache starts normally but, it become crazy. for exemple <a href="http://localhost/phpinfo_mapscript.php" target="_blank">http://localhost/phpinfo_mapscript.php</a> gives me this error :<br>
<b>Warning</b>: dl() [<a href="http://localhost/function.dl" target="_blank">function.dl</a>]: Not supported in multithreaded Web servers - use extension=php_mapscript.dll in your php.ini in <b>C:\ms4w\Apache\htdocs\phpinfo_mapscript.php</b> on line <b>2<br>
<br></b>how to work with php as a module safely? i'm using the last ms4w.<br><br>regards<br clear="all"><br>-- <br>Bendaoud <br>
</div>
</div><br><br clear="all"><br><br>
</div>
<br>_______________________________________________<br>
ms4w-users mailing list<br>
<a href="mailto:ms4w-users@lists.maptools.org">ms4w-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><br>
<br></blockquote></div><br>