﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
467	PHP: Unable to load dynamic library 'mapscript'	a.labenne	Jeff McKenna	"Hello,

We tried the experimental 5.2.0 release and we found a bug when testing the quickmap.php script. We have the following error :


{{{
Fatal error: Uncaught Error: Class ""mapObj"" not found in C:\ms4w\Apache\htdocs\quickmap.php on line 19
}}}


If we enable the error_log in PHP.ini there is the following error that show up :


{{{
[08-Jul-2025 08:04:26 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mapscript' (tried: /ms4w/Apache/php/ext/mapscript (Le module spécifié est introuvable), /ms4w/Apache/php/ext/php_mapscript.dll (Le module spécifié est introuvable)) in Unknown on line 0
[08-Jul-2025 08:04:26 UTC] PHP Fatal error:  Uncaught Error: Class ""mapObj"" not found in C:\ms4w\Apache\htdocs\quickmap.php:19
Stack trace:
#0 {main}
  thrown in C:\ms4w\Apache\htdocs\quickmap.php on line 19
}}}

I verified and the php_mapscript.dll file exists in the searched location.

Do you have any clue for this kind of error ?

Regards,

Arnaud Labenne

"	defect	closed	major	5.2.0 release	MS4W - Base	5.0.0	worksforme				
