Side note, the phpmapscript driver (or library) comes with several other drivers (or libraries). If one of these companion files are missing or not at the right place, the phpmapscript driver will not load and SOAP will report a "can't load mapscript library" error.
I cant tell you what or where the files are on Macintosh, but on PC see http://www.cartoweb.org/doc_head/docbook/xhtml/appendix.windows_manual_insta ll.html#appendix.windows_manual_install.mapserver and http://cartoweb.org/downloads/mapserver/README_mapserver-4.6.1-win32-php5.1. 1_c2c.txt ( "Dependecy dlls" ). The equivalent is certainly necessary for Macintosh. Regards, Oliver >----- Original Message ----- >From: oliver >To: Paul Shapley ; [email protected] >Sent: Friday, January 20, 2006 9:45 AM >Subject: Re: [Cartoweb-users] SoapFaultWrapper > > >Hi Paul, > >You need a phpmapscript driver compiled for macintosh. On pc the file is named php_mapscript_xx.dll, i dont know what is its name on macintosh. >First, check if the file is correctly enabled in your php.ini, look for "Dynamic Extensions", there should be a line like "extension=php_mapscript..." or so. >If you have the file already, the version is not correct for the version of mapserver your have. >You need to either find a file already compiled somewhere or compile it yourself. You may have a look there ( http://www.serverlogistics.com/mapserver.php ) , maybe they have the file already, or ask them how to do it yourself. > >Regards, >Oliver >----- Original Message ----- >From: Paul Shapley >To: [email protected] >Sent: Friday, January 20, 2006 9:17 AM >Subject: [Cartoweb-users] SoapFaultWrapper > > >>Hi All, >> >>I get the following error after installing 'cw3setup.php' in mac os x. Is an extension missing from the php.ini file? >> >>Failure >>Class : SoapFaultWrapper >>Message : can't load mapscript library >>Backtrace: >>file: 317 - /Library/WebServer/Documents/cartoweb3/server/ServerContext.php >>call: ServerContext::getMapObj() >>file: 90 - /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php >>call: ServerContext->getMapObj() >>file: 162 - /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php >>call: MapInfoHandler->fillDynamicMap() >>file: 49 - /Library/WebServer/Documents/cartoweb3/server/ServerMapInfoCache.php >>call: MapInfoHandler->loadMapInfo() >>file: 99 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php >>call: ServerMapInfoCache->computeMapInfo() >>file: 169 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php >>call: ServerMapInfoCache->cacheMapInfo() >>file: 177 - /Library/WebServer/Documents/cartoweb3/server/MapInfoHandler.php >>call: ServerMapInfoCache->getMapInfo() >>file: 378 - /Library/WebServer/Documents/cartoweb3/server/ServerContext.php >>call: MapInfoHandler->getMapInfo() >>file: 190 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php >>call: ServerContext->getMapInfo() >>file: 337 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php >>call: Cartoserver->doGetMapInfo() >>file: 377 - /Library/WebServer/Documents/cartoweb3/server/Cartoserver.php >>call: Cartoserver->callWithExceptionCheck() >>file: 102 - /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php >>call: Cartoserver->getMapInfo() >>file: 156 - /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php >>call: CartoserverService->callDirect() >>file: 215 - /Library/WebServer/Documents/cartoweb3/client/CartoserverService.php >>call: CartoserverService->callFunction() >>file: 60 - /Library/WebServer/Documents/cartoweb3/client/ClientMapInfoCache.php >>call: CartoserverService->getMapInfo() >>file: 99 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php >>call: ClientMapInfoCache->computeMapInfo() >>file: 169 - /Library/WebServer/Documents/cartoweb3/common/MapInfoCache.php >>call: ClientMapInfoCache->cacheMapInfo() >>file: 590 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php >>call: ClientMapInfoCache->getMapInfo() >>file: 374 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php >>call: Cartoclient->getMapInfo() >>file: 36 - /Library/WebServer/Documents/cartoweb3/htdocs/client.php >>call: Cartoclient->__construct() >>file: 3 - /Library/WebServer/Documents/cartoweb3/htdocs/Paul.php >>call: require_once("/Library/WebServer/Documents/cartoweb3/htdocs/client.php") >> >>Can someone tell me what is wrong?. >> >>Many thanks, >> >>Paul S >> >> >> >>_______________________________________________ >>Cartoweb-users mailing list >>[email protected] >>http://lists.maptools.org/mailman/listinfo/cartoweb-users >> >> >> >> >>_______________________________________________ >>Cartoweb-users mailing list >>[email protected] >>http://lists.maptools.org/mailman/listinfo/cartoweb-users _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
