Are you running PHP as a module? Then you cannot use the dl function. Just add php_mapscript48.dll to your list of extensions in php.ini like the error message says, or run PHP as a CGI.
 
Best regards,
Bart
-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List [mailto:[EMAIL PROTECTED]Namens Luke Savage
Verzonden: maandag 13 februari 2006 6:13
Aan: MAPSERVER-USERS@LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] php_mapscript_48.dll issues

Hello Users,

I haven't been able to connect to php_mapscript_48.dll using the mapserver-4.8.1-win32-php5.1.2.zip installation package from maptools.org.  The error is below.  I have followed the installation text document but it seems the extension in the php.ini file is not able to run the extension.  PHP is coming up just fine but the extension is not running.  I have placed the DLL in system32, php root, php/ext, mapserver_binaries, system...I've run out of ideas on troubleshooting this problem.  Any help would be much appreciated. 

 

Specs:

Apache 2.0.55

PHP 5.1.2

Mapserver 4.8.1

 

Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_mapscript_48.dll in your php.ini in C:\apache\Apache2\htdocs\php_hello.php on line 1

 

Testing php file...

<?php  dl("php_mapscript_48.dll");

       phpinfo();

?>

 

Luke Savage

 

 


Disclaimer ************************************************************************ Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te informeren. Wij adviseren u om bij twijfel over de juistheid of de volledigheid van de mail contact met afzender op te nemen. This message shall not constitute any rights or obligations. This message is intended solely for the addressee. If you have received this message in error, please delete it and notify the sender immediately. When in doubt whether this message is correct or complete, please contact the sender. ************************************************************************

Reply via email to