Opened 2 hours ago
#467 new defect
PHP: Unable to load dynamic library 'mapscript'
Reported by: | a.labenne | Owned by: | Jeff McKenna |
---|---|---|---|
Priority: | major | Milestone: | 5.2.0 release |
Component: | MS4W - Base | Version: | 5.0.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
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
Note:
See TracTickets
for help on using tickets.